Alexandre Julliard
1f5a4a8046
msvcrt: Get rid of the now unused strndup/wstrndup functions.
2007-07-27 12:18:44 +02:00
Alexandre Julliard
00c81e9d9f
msvcrt: Fixed errno setting in malloc, HeapAlloc doesn't set last error.
2007-07-27 12:18:15 +02:00
Alexandre Julliard
b2acafad44
msvcrt: Fixed buffer allocation in _getcwd/_wgetcwd.
2007-07-27 12:17:58 +02:00
Vitaliy Margolen
b25ad76a22
msvcrt: Preserve registers when calling unwind function.
2007-07-16 14:53:42 +02:00
Michael Stefaniuc
d7d40b7dd3
msvcrt: Remove superfluous casts of void pointers to other pointer types.
2007-07-04 12:06:58 +02:00
Michael Stefaniuc
ec4936a6a3
msvcrt: Do not use wide character constants.
2007-06-25 11:43:58 +02:00
Michael Stefaniuc
814ca1295a
msvcrt: Move definition of 2 static inline functions up and remove the forward declaration of those. Found by sparse.
2007-06-20 13:08:48 +02:00
Alexandre Julliard
72bc7429e4
msvcrt: Set the correct ebp value before calling the local unwind handler.
2007-06-08 12:56:19 +02:00
Francois Gouget
a50dfc174e
msvcrt/tests: Fix a signed/unsigned int mismatch.
2007-05-29 12:12:05 +02:00
Francois Gouget
cf218621fd
msvcrt: When operating on a closed pipe, read() should return 0, not -1.
...
Add tests to make sure read() and fread() work right on closed pipes.
2007-05-22 12:01:35 +02:00
Francois Gouget
784693bb5a
msvcrt: Remove the S_ISXXX() macros as they are not present in the Visual C++ headers.
2007-05-22 12:01:28 +02:00
Francois Gouget
f793221f0f
msvcrt/tests: When compiling with Visual C++ 2005, one must define _CRT_NON_CONFORMING_SWPRINTFS otherwise swprintf() takes an extra parameter.
2007-05-22 11:59:56 +02:00
Andrew Talbot
9069577cd0
msvcrt: Exclude unused headers.
2007-05-15 12:19:12 +02:00
Hans Leidekker
480faefe61
msvcrt: Correct the spec file entry for _makepath.
2007-04-19 11:56:10 +02:00
Andrew Talbot
0edfb58d2a
msvcrt: Remove superfluous semicolons.
2007-04-11 11:20:34 +02:00
Michael Stefaniuc
590bf1be88
msvcrt: Demangle a C++ mangled string that is only a name with it's template argument list.
2007-04-06 12:31:05 +02:00
Michael Stefaniuc
4718261e9b
msvcrt: Move the code to demangle a name with its template argument list out of get_class() and into a separate function.
2007-04-06 12:31:04 +02:00
Andrew Talbot
1e8e0a4ed2
msvcrt/tests: Replace inline static with static inline.
2007-03-23 12:29:28 +01:00
Andrew Talbot
7b10348088
msvcrt: Replace inline static with static inline.
2007-03-20 13:00:59 +01:00
Dmitry Timoshkov
63da5f26c2
msvcrt: Print FIXME on platforms where _except_handler3 is a stub.
2007-03-19 12:17:02 +01:00
Jan Zerebecki
fbe9b578e1
msvcrt: Remove unused variable.
2007-03-15 12:25:12 +01:00
Alexandre Julliard
8f097d8c9d
msvcrt: _initterm doesn't return anything.
2007-03-14 12:26:43 +01:00
Alexandre Julliard
35d728ef50
msvcrt: Improved _local_unwind2 implementation.
...
Thanks to Dmitry Timoshkov for a test case.
2007-03-13 15:53:09 +01:00
Jan Zerebecki
3b32ae2a54
msvcrt: Add DebugInfo to critical sections.
2007-03-12 13:38:22 +01:00
Paul Vriens
8ebcf40043
msvcrt/tests: Properly remove temporary directory.
2007-03-06 22:00:11 +01:00
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