whitespace fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1999-11-09 16:57:20 +00:00
parent 901c1de757
commit eeac1f9bbc
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
1999-11-09 Adam Fedor <fedor@gnu.org>
* Source/o_vscanf.c (o_vscanf): Don't count '\n' as whitespace.
Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/Foundation/NSDebug.h: Added NSWarnLog(), NSWarnFLog() and

View file

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

View file

@ -85,6 +85,7 @@ create-abbrevs \
create-regions
# The tool Objective-C source files to be compiled
testtool_OBJC_FILES = testtool.m
benchmark_OBJC_FILES = benchmark.m
containers_OBJC_FILES = containers.m
test01_OBJC_FILES = test01.m