[Commit] nickle scanf.5c,1.17,1.18
Keith Packard
commit at keithp.com
Thu Oct 23 18:30:46 PDT 2003
- Previous message: [Commit] xcb/doc/specs/XCB .cvsignore, 1.1, NONE Imakefile, 1.1,
NONE xcb_proto_macros.tex, 1.2, NONE
- Next message: [Commit] nickle ChangeLog, 1.4, 1.5 compile.c, 1.142,
1.143 version.m4, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: keithp
Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv26721
Modified Files:
scanf.5c
Log Message:
Strings are separated by whitespace in scanf
Index: scanf.5c
===================================================================
RCS file: /local/src/CVS/nickle/scanf.5c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- scanf.5c 13 Oct 2003 05:48:57 -0000 1.17
+++ scanf.5c 24 Oct 2003 01:30:44 -0000 1.18
@@ -102,7 +102,7 @@
whitespace();
s = "";
- while (Ctype::isprint (c = File::getc(f)) && !File::end(f))
+ while (Ctype::isgraph (c = File::getc(f)) && !File::end(f))
s = s + String::new(c);
File::ungetc (c, f);
return s;
- Previous message: [Commit] xcb/doc/specs/XCB .cvsignore, 1.1, NONE Imakefile, 1.1,
NONE xcb_proto_macros.tex, 1.2, NONE
- Next message: [Commit] nickle ChangeLog, 1.4, 1.5 compile.c, 1.142,
1.143 version.m4, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commit
mailing list