Fix error encoding termination markup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21934 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-11-01 13:51:24 +00:00
parent 3df71049d3
commit 4edb1f1f6b
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,8 @@
using it, and unlin/retry if there isn't. This is an attempt to 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 handle situations where an old process was not killed cleanly and
the new process tries to use the same name. 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 <rfm@gnu.org> 2005-10-31 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -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. * Encode a line of length zero followed by 'end' as the terminator.
*/ */
[encoded appendBytes: "`\n" length: 4]; [encoded appendBytes: "`\nend\n" length: 6];
[encoded appendBytes: "end\n" length: 4];
return YES; return YES;
} }
@end @end