From 4edb1f1f6be23a2070c48a765ce1956d3878ebaa Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Tue, 1 Nov 2005 13:51:24 +0000 Subject: [PATCH] Fix error encoding termination markup git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21934 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 2 ++ Source/Additions/GSCategories.m | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f584f5dc4..a127e5fd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ using it, and unlin/retry if there isn't. This is an attempt to handle situations where an old process was not killed cleanly and the new process tries to use the same name. + * Source/Additions/GSCategories.m: ([uuencodeInto:name:mode:]) fix + error encoding the termination marker of the uuencoded data. 2005-10-31 Richard Frith-Macdonald diff --git a/Source/Additions/GSCategories.m b/Source/Additions/GSCategories.m index 1019bbc65..2fc65ccb5 100644 --- a/Source/Additions/GSCategories.m +++ b/Source/Additions/GSCategories.m @@ -752,8 +752,7 @@ static void MD5Transform (unsigned long buf[4], unsigned long const in[16]) /* * Encode a line of length zero followed by 'end' as the terminator. */ - [encoded appendBytes: "`\n" length: 4]; - [encoded appendBytes: "end\n" length: 4]; + [encoded appendBytes: "`\nend\n" length: 6]; return YES; } @end