Revert last bugfix 'cos it broke DO

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5156 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-11-11 13:40:52 +00:00
parent eeac1f9bbc
commit 6f607f51ee
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,11 @@
Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/o_vscanf.c Reverted to earlier version - the last fix was
causing distributed objects to fail! I don't know why, but DO seems
more important than the bugfix - so, pending a rewrite of DO
encoding/decoding to remove the dependency on the old stream code,
we need to leave this as it is.
1999-11-09 Adam Fedor <fedor@gnu.org>
* Source/o_vscanf.c (o_vscanf): Don't count '\n' as whitespace.

View file

@ -181,12 +181,10 @@ o_vscanf (void *stream,
if (isspace(fc))
{
/* Whitespace characters match any amount of whitespace. */
while (isspace (c) && c != '\n')
while (isspace (c))
inchar ();
continue;
}
else if (c == fc && *f == '\0')
continue;
else if (c == fc)
(void) inchar();
else