Commit Graph

21 Commits

Author SHA1 Message Date
H. Verbeet 8c29b7dc8b msvcrt: Fix reading of signed numbers with unsigned read types in scanf. 2006-03-27 11:30:50 +02:00
C. Scott Ananian 9ef2706a77 Allow scanf to continue parsing format string after a '%n'. 2005-03-10 11:44:19 +00:00
Francois Gouget 168265ebb0 Fix handling of EOF for the '%c' and '%C' cases in scanf().
Add conformance tests to verify the behavior of '%c'.
Improve some of the test's error messages.
2005-01-28 11:27:26 +00:00
Francois Gouget 61d21ce706 Update RTL_BITMAP and RTL_BITMAP_RUN to match the 2000 DDK.
Only test the Rtl{Initialize,SetAll,ClearAll}Bits macros if they are
defined.
2004-08-23 18:52:54 +00:00
Raphael Junqueira d134aa5945 Fix scanf handling of float numbers (beginning with a dot). 2004-05-17 19:49:44 +00:00
Uwe Bonnes 0511d33522 Implement I64 modifier, move WARN to TRACE. 2004-02-24 01:09:39 +00:00
Alexandre Julliard c042e13ef6 Fixed varargs handling in the scanf functions (spotted by Eric
Pouech).
2004-02-19 01:13:12 +00:00
Peter Berg Larsen a457ee0a3d %[a-z] and %[z-a] are interpreted as equivalent to %[abcde...z].
Added some scanf tests.
2004-01-06 21:36:10 +00:00
Peter Berg Larsen ccd749684f Added _BITMAPSIZE_ and split _CONVERT_ macro to remove #ifdefs. 2004-01-06 20:38:37 +00:00
Uwe Bonnes 545a3b7118 Patch and test for scanf %i. 2003-12-15 21:06:19 +00:00
Uwe Bonnes 242beda8d2 %n returns the number of consumed characters. 2003-10-10 00:00:19 +00:00
Uwe Bonnes 29c7e32f83 Fix some sscanf cases and testcase to get wxtide32.exe running. 2003-05-13 23:38:46 +00:00
Alexandre Julliard 76db6b062e Warning fixes. 2003-01-11 22:50:15 +00:00
Alexandre Julliard a3717a2edd Fixed EOF return value for sscanf. 2003-01-11 21:06:02 +00:00
Mehmet Yasar 653510348a - return EOF when stream is empty
- conformance test updated
2003-01-11 20:53:22 +00:00
Alexandre Julliard 7ea8a0b9be Handle unknown format chars correctly (spotted by György 'Nog'
Jeney) and added test for it.
Removed unneeded _L_ macro.
2002-12-20 00:35:41 +00:00
Alexandre Julliard 5f31b32946 Use MSVCRT_wchar_t instead of WCHAR so that the implementation matches
the prototypes.
2002-12-19 04:21:30 +00:00
György 'Nog' Jeney e022026c93 Implement [ format specifier. 2002-10-15 02:20:07 +00:00
Jukka Heinonen 9747c15a15 Functions sscanf and swscanf now expect strings to be terminated with
null (0) instead of EOF (-1).
2002-09-29 18:00:23 +00:00
Uwe Bonnes 921eef3bde Make the scanf family recognize characters again. 2002-09-09 19:18:53 +00:00
Daniel Gudbjartsson 42c74d6454 Combined the implementation of all the scanf's in a single place.
Added implementations of fwscanf, swscanf, wscanf and sscanf.
Corrected the declaration of swscanf.
Added implementation of the l, h, L and w prefixes.
Added implementation of the c, C, s, S and n types.
2002-08-17 01:22:00 +00:00