Follow-up Comment #3, patch #6286 (project gnustep): While we're at it: Here's more problems with this code. I've actually experienced corrupt archives because of it. I'm shocked I missed it the first round.
It does not encode MoveTo points, but then tries to decode them. It also decodes improperly, as the case statement would fall through to the LineTo statement. This caused double-plus-un-fun. Working on: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) (file #14506) _______________________________________________________ Additional Item Attachment: File name: gnustep-gui-nsbezierpath-encode-missing-move-to-fix.patch Size:3 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?6286> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep