Damjan Jovanovic
2705d78876
msvcrt: Fix fstat's handling of pipes and char devices.
...
For pipes/char devices, st_dev and st_rdev should be the fd, st_nlink
is always 1, and st_mode is S_IFIFO and S_IFCHR respectively.
Added tests to prove the new behaviour right.
2007-02-16 13:13:37 +01:00
Damjan Jovanovic
7ecc283bd9
msvcrt: Implemented stat64, wstat64 and fstat64.
...
Change all other variations of stat use the stat64 family, since it is
the most general.
2007-02-14 12:31:14 +01:00
Damjan Jovanovic
cbb6da2d70
msvcrt: Added declarations for functions and structures related to stat64.
2007-02-14 12:30:58 +01:00
Eric Pouech
f415b5ddeb
msvcrt: Use raise(SIGABRT) for abort() and assert().
2007-02-09 11:50:37 +01:00
Eric Pouech
bb5a20c61a
msvcrt: Implemented the raise function.
2007-02-09 11:50:25 +01:00
Eric Pouech
9f309b32e6
msvcrt: Reset a signal to DFL before it's used.
2007-02-09 11:50:16 +01:00
Alexandre Julliard
2851b31f4c
msvcrt: Implement fopen/wfopen on top of fsopen/wfsopen instead of the other way around.
2007-02-07 13:25:29 +01:00
Juan Lang
24dbdf8fa5
msvcrt: Implement _mbbtype according to MSDN.
2007-02-07 11:34:26 +01:00
Damjan Jovanovic
65d9723dc4
msvcrt: Align struct _stati64's st_size on an 8 byte boundary.
2007-02-06 13:28:36 +01:00
Michael Stefaniuc
bbe9c51b31
msvcrt: Fix *printf() handling of negative field width.
2007-02-05 12:26:10 +01:00
Eric Pouech
8333cf88d8
msvcrt: Fix the internal flag computation for _open_osfhandle.
2007-01-23 13:05:52 +01:00
Francois Gouget
aab5e5856e
Don't put single quotes around '%s' when using the debugstr_*() functions.
2007-01-18 12:55:50 +01:00
Joel Parker
2319999a05
Remove redundant semicolons for ANSI compatibility.
2007-01-17 11:58:15 +01:00
Alasdair Sinclair
8137c094fd
msvcrt: If we're at EOF in the buffer and we have pattern %n in format string we should not count the EOF in the total.
2007-01-17 11:23:34 +01:00
Alexandre Julliard
6f9ad1b981
msvcrt: Export various locale and codepage variables.
2007-01-16 12:08:59 +01:00
Andrew Talbot
464a6eb431
msvcrt: Move static function from header into file where it is called.
2007-01-16 11:19:14 +01:00
Andrew Talbot
338100c255
msvcrt: Declare some items static.
2007-01-15 14:22:39 +01:00
Eric Pouech
262cf1547e
msvcrt: execl fix when no args are given (reported by Louis Lenders).
2007-01-02 20:31:20 +01:00
Andrew Talbot
6d9f0c2052
msvcrt: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL.
2007-01-02 13:21:08 +01:00
Michael Stefaniuc
c7e00c9f49
janitorial: In multiline strings there is no need for '\' at the end of the lines.
2006-12-27 13:10:13 +01:00
Dmitry Timoshkov
ada9dc9d4b
msvcrt: Make an internal function static, avoid a prototype.
2006-12-26 12:20:25 +01:00
Duane Clark
67386352c8
msvcrt: Add function _mbsspnp.
2006-12-24 13:07:22 +01:00
Louis Lenders
6c04a187d2
msvcrt: Add _atoldbl.
2006-12-19 16:18:01 +01:00
Alexandre Julliard
0689e9ea05
msvcrt: Define __CxxLongjmpUnwind for i386 only.
2006-12-16 17:37:20 +01:00
Alexandre Julliard
7d98599d7d
msvcrt: Implemented __CxxLongjmpUnwind.
2006-12-15 13:41:48 +01:00
Alexandre Julliard
8592c4b876
msvcrt: Make pointers to read-only exception descriptors const.
2006-12-15 13:41:31 +01:00
Dmitry Timoshkov
ffa84441c8
msvcrt: Make some data const.
2006-12-14 20:11:31 +01:00
Francois Gouget
f0dd63cbb4
msvcrt: The tests link with msvcrt(d).dll now, so use GetModuleHandle() rather than LoadLibrary().
2006-12-14 12:44:28 +01:00
Andrew Talbot
ac550a88ef
msvcrt/tests: Cast-qual warnings fix.
2006-12-13 11:49:06 +01:00
Andrew Talbot
9317377fb8
msvcrt/tests: Cast-qual warnings fix.
2006-12-12 12:11:12 +01:00
Andrew Talbot
24c4f46da4
msvcrt/tests: Cast-qual warnings fix.
2006-12-12 12:11:07 +01:00
Marcus Meissner
f0280cbd1e
made functions and variables static in some testcases.
2006-12-11 12:18:29 +01:00
Alexandre Julliard
ec7f2f8802
msvcrt: Use LOCALE_USER_DEFAULT to get the proper codepage for the Unix locale.
2006-12-08 12:56:17 +01:00
Francois Gouget
bb8e625b5b
Assorted spelling fixes.
2006-12-05 10:31:47 +01:00
Francois Gouget
1a145bb532
msvcrt/tests: We cannot link with _initterm() with Visual C++, so we have to load it dynamically.
2006-11-24 12:56:35 +01:00
Francois Gouget
b2765fc45a
msvcrt/tests: The tests must not include msvcrt.h because it contains declarations that may be incompatible with the PSDK headers.
2006-11-24 11:49:13 +01:00
Louis Lenders
fa47970e6c
msvcrt: Add _fstat64 and _stat64 to msvcrt.spec.
2006-11-17 12:45:21 +01:00
Sam Dennis
48c006621d
msvcrt: Use the custom vsnprintf implementation for msvcrt.vsprintf too.
2006-11-15 11:25:00 +01:00
Alexandre Julliard
63b62dc50b
msvcrt/tests: Clean up a temp file.
2006-11-14 12:00:38 +01:00
Jesse Allen
a697fe51e0
msvcrt: printf buffer overrun tests.
2006-11-14 11:37:40 +01:00
Jesse Allen
5b75c86921
msvcrt: Estimate required buffer size better in pf_vsnprintf.
2006-11-14 11:37:31 +01:00
Jesse Allen
fa8656f841
msvcrt: Free correct buffer in pf_vsnprintf.
2006-11-14 11:35:42 +01:00
Andrew Talbot
55f25b712d
msvcrt: Cast-qual warnings fix.
2006-11-06 15:39:55 +01:00
Louis. Lenders
32ffc7cb8a
msvcrt: Add stub for _setmaxstdio + tiny test.
2006-10-31 11:46:20 +01:00
Duane Clark
b4c1c67ea4
msvcrt: Fix fread on large buffers in ascii mode.
2006-10-27 12:30:24 +02:00
Markus Amsler
9fb58434cb
msvcrt: Speed up new operator.
2006-10-23 14:39:07 +02:00
Louis. Lenders
a5e6c89dcf
msvcrt: Add stub for _getmaxstdio.
2006-10-18 12:35:40 +02:00
Markus Amsler
9ae995f674
msvcrt: Fix fread eof handling.
2006-10-13 11:20:40 +02:00
Markus Amsler
fdd61a7a35
msvcrt: fread: Fill buffer on small reads.
2006-10-13 11:20:35 +02:00
Markus Amsler
ef5ed0a42a
msvcrt: Add fread eof tests.
2006-10-13 11:20:26 +02:00