Robert van Herk
516bb0ba64
msvcrt: Fix file mode T (temporary file).
2012-03-28 11:47:13 +02:00
Akihiro Sagawa
cf7479ca85
msvcrt: Add support for _flushall to clear all input buffer.
2012-03-14 12:59:11 +01:00
Akihiro Sagawa
1a01893c74
msvcrt: Add support for fflush to clear an input buffer.
2012-03-14 12:59:10 +01:00
Akihiro Sagawa
09a7f8c196
msvcrt/tests: Add tests for fflush on input stream.
2012-03-14 12:59:09 +01:00
Piotr Caban
c39793087d
msvcrt: Handle negative file->_cnt value in _flsbuf function.
2012-02-07 09:32:20 -06:00
Frédéric Delanoy
3274475299
msvcrt/tests: Remove dead assignments (Clang).
2011-09-28 12:38:21 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Austin English
1197b5e3e3
msvcrt/tests: Make sure to use return values.
2011-08-03 19:00:11 +02:00
Eric Pouech
a42bf0134c
msvcrt: ungetc must create a buffer, even if _IONBF has been set with setvbuf.
2011-04-25 11:39:57 +02:00
Eric Pouech
dc9904a338
msvcrt: Added tests in fileops with different buffer management modes.
2011-04-25 11:39:54 +02:00
André Hentschel
188b3ae1b1
msvcrt/tests: Don't test function directly when reporting errno.
2011-02-25 11:05:17 +01:00
Alexandre Julliard
45a8b643cd
msvcrt/tests: Avoid sizeof in traces.
2010-11-17 15:08:03 +01:00
Eryk Wieliczko
c9bd269db1
msvcrt: Fixed (_w)fopen_s with test.
2010-11-11 14:19:38 +01:00
Francois Gouget
1f07f583cf
msvcrt/tests: Make test_dup2() static.
2010-06-22 20:03:49 +02:00
Alexandre Julliard
ba7cbccfcb
msvcrt/tests: Avoid size_t in a trace.
2010-02-16 15:50:32 +01:00
Uwe Bonnes
0d16965832
msvcrt: read_i should pull in LF after CR only in unbuffered mode.
2010-01-28 15:30:26 +01:00
Uwe Bonnes
e6f1ae029e
msvcrt: Handle CR at buffer boundary and test case.
2010-01-18 15:32:53 +01:00
Jeff Zaroyko
c2459deeff
msvcrt: Check if argument passed to _dup2 is positive.
2010-01-14 09:41:43 -06:00
Jeff Zaroyko
f4e5ab4892
msvcrt/tests: Test _dup2 for failure when second arg is negative.
2010-01-14 09:41:30 -06:00
Uwe Bonnes
5926277473
msvcrt: In unbuffered text mode reading \r\n with fgetc fails.
2010-01-11 13:39:54 -06:00
Nikolay Sivov
e5e17ca438
msvcrt/tests: Free temporary file name after test.
2009-12-07 14:18:27 +01:00
Alexandre Julliard
da2db26dec
msvcrt/tests: Add tests for the handle inheritance block.
...
Based on a patch by André Hentschel.
2009-09-10 15:29:35 +02:00
Alexandre Julliard
82f175e9b5
msvcrt: Replace long by MSVCRT_long.
2009-05-23 11:57:39 +02:00
Juan M. Navarro
c9b40bff32
msvcrt/tests: Avoid size_t in printf format.
2009-02-18 15:03:30 +01:00
Francois Gouget
f250f4fa04
Assorted spelling fixes.
2009-02-11 15:56:02 +01:00
Francois Gouget
4ee530b2a7
msvcrt/tests: Remove a space before a '\n'.
2009-01-30 14:05:56 +01:00
Dan Kegel
7f3c70c52f
msvcrt: Remove CRs earlier in ascii mode in fseek, too.
2009-01-29 12:21:11 +01:00
Dan Kegel
5bf1ae82f1
msvcrt: _flsbuf zeroes _cnt.
2009-01-29 12:20:44 +01:00
Uwe Bonnes
d0e77f8a47
msvcrt/tests: Test case to show Wine still mishandles file text mode.
2009-01-28 14:36:52 +01:00
Dan Kegel
ebe4a9e321
msvcrt: Remove CRs earlier in ascii mode.
2009-01-19 13:36:26 +01:00
Alexandre Julliard
2cf2c4568f
msvcrt/tests: Fix some printf formats for 64-bit.
2009-01-03 20:24:10 +01:00
Michael Stefaniuc
a4c2a0ee20
msvcrt/tests: Use the C standard for multiline strings.
2008-12-23 18:51:20 +01:00
Alexandre Julliard
d77eba57f1
msvcrt/tests: Avoid sizeof in a trace.
2008-12-20 13:33:08 +01:00
Francois Gouget
9a911f5443
msvcrt/tests: Add a trailing '\n' to an ok() call.
2008-12-17 15:27:20 +01:00
Dan Kegel
72ffe1da67
msvcrt: fread: Exhaust buffered data before using unbuffered data in ascii mode.
2008-12-16 14:23:40 +01:00
Francois Gouget
33dd86d05c
msvcrt/tests: Add a trailing '\n' to ok() calls.
2008-12-12 11:40:53 +01:00
Francois Gouget
e766985b20
msvcrt: Fix the permissions returned by fstat*() (with test).
2008-12-10 10:47:34 +01:00
Francois Gouget
266ee43e23
msvcrt/tests: Add a stat() test.
2008-12-10 10:47:23 +01:00
Francois Gouget
5f8c3b4a38
msvcrt/tests: Stricter fstat() tests.
...
Don't allow fstat() to fail for no reason.
Better check the st_mode field.
2008-12-10 10:47:19 +01:00
Jeff Zaroyko
22a33168c9
kernel32: Modify DeleteFileW to fail on directories.
2008-09-18 12:32:57 +02:00
Rob Shearman
0848a19ec0
msvcrt: Fix character count passed into fgetws in test_fileops.
2008-09-17 12:02:02 +02:00
Jeff Zaroyko
c7093febab
msvcrt: Add a test for unlinking non-empty directories.
2008-08-27 13:21:23 +02:00
Michael Karcher
5f2159e806
msvcrt/file: stdio should clamp characters to 8 bits.
2008-08-19 13:04:44 +02:00
Jon Griffiths
09627c8f61
msvcrt: Fix file test which fails on Vista.
2008-05-28 19:32:37 +02:00
Erik de Castro Lopo
60501aa93e
msvcrt: Clear end-of-file flag on fseek.
2008-04-09 11:43:35 +02:00
Dan Kegel
316869b273
msvcrt: Fix EOF behavior on read from pipe or console.
...
The canonical way to detect EOF on read is when you request more than
zero bytes, but zero bytes come back. Switching to this method seems
to handle a few problem cases better. Also handle ERROR_BROKEN_PIPE
properly just in case.
2008-02-12 22:35:20 +01:00
Dan Kegel
56eb6f6730
msvcrt: Fix ^Z handling in text mode.
2007-10-09 11:39:57 +02:00
Dan Kegel
4cd3a16f18
msvcrt: Improve CR CR LF handling.
2007-10-05 10:33:27 +02:00
Paul Vriens
56f4262e94
msvcrt/tests: Wait for spawned processes to finish.
2007-08-21 12:41:42 +02:00
Francois Gouget
a50dfc174e
msvcrt/tests: Fix a signed/unsigned int mismatch.
2007-05-29 12:12:05 +02:00