Commit Graph

682 Commits

Author SHA1 Message Date
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
Francois Gouget fb1b0a1c32 msvcrt: __CxxDetectRethrow() and __CxxQueryExceptionSize() are implemented now so export them. 2008-02-05 12:19:38 +01:00
Eric Pouech 535f85e040 msvcrt: Corrected the .spec definition for the printf functions family. 2008-01-23 11:31:43 +01:00
Eric Pouech 0920f8e778 msvcrt: symbol undecoration: Really check that we get a template string before making use of it. 2008-01-22 12:07:21 +01:00
Eric Pouech 95cff6c8f9 msvcrt: symbol undecoration: Added support for RTTI types. 2008-01-22 12:07:07 +01:00
Eric Pouech 49ac014d28 msvcrt: symbol undecoration: Added support for thunks. 2008-01-22 12:06:50 +01:00
Eric Pouech 3db08321f4 msvcrt: symbol undecoration: Corrected handling of non static member function modifiers. 2008-01-22 12:06:34 +01:00
Eric Pouech d7c0e274e8 msvcrt: symbol undecoration: Added support for a couple of more calling conventions. 2008-01-22 12:06:04 +01:00
Eric Pouech 056e589556 msvcrt: symbol undecoration: Added support for cointerface. 2008-01-22 12:05:40 +01:00
Eric Pouech 2d2e7c74bb msvcrt: symbol undecoration: Handling of void in template parameters' list. 2008-01-22 12:05:21 +01:00
Eric Pouech 2e47a3a4f8 msvcrt: symbol undecoration: Now correctly parsing the template forms. 2008-01-22 12:05:05 +01:00
Andrew Talbot a69418c52c msvcrt: Remove unneeded casts. 2008-01-14 13:09:56 +01:00
Marcus Meissner a54150bc53 msvcrt: Remove strange condition which might lead to crash. 2008-01-10 12:10:44 +01:00
Hans Leidekker 41575621c8 msvcrt: Correct search strategy for the exec/spawn functions. 2008-01-08 13:40:35 +01:00
Hans Leidekker 8d768b7713 msvcrt: Implement _wexecv{, e, p, pe}. 2008-01-08 13:39:14 +01:00
Hans Leidekker 054132f931 msvcrt: Implement _wspawnl{, e, p, pe}. 2008-01-08 13:38:57 +01:00
Hans Leidekker 3fd647c243 msvcrt: Implement _wexecl{, e, p, pe}. 2008-01-08 13:38:34 +01:00
Hans Leidekker 516b4ebd0e msvcrt: Rewrite _spawnve as a wrapper. 2008-01-08 13:37:41 +01:00
Hans Leidekker c91a597305 msvcrt: Implement _execl{e, pe}. 2008-01-08 13:37:11 +01:00
Hans Leidekker 1ba54f3337 msvcrt: Rewrite _execl/_spawnl functions as wrappers around wide character implementations. 2008-01-08 13:36:59 +01:00
Hans Leidekker 118bee860a msvcrt: Implement _wpopen and forward _popen to it. 2008-01-08 13:34:37 +01:00
Hans Leidekker 3debf28215 msvcrt: Implement _wsystem and forward system to it. Respect COMSPEC environment variable. 2008-01-08 13:34:09 +01:00
Dmitry Timoshkov a88f03e22f msvcrt: Rename _environ to avoid a conflict on Solaris. 2008-01-08 12:54:40 +01:00
Hans Leidekker 428cff6e0b msvcrt: Fix spec file entries for the execv functions. 2008-01-02 13:43:03 +01:00
Andrew Talbot edaa0fbc13 msvcrt: Remove unneeded cast. 2007-12-24 13:30:20 +01:00
Gerald Pfeifer a030777f74 msvcrt: Fix error handling in _aligned_offset_realloc(). 2007-12-04 18:41:36 +01:00
Lionel Debroux 51d6a08d57 msvcrt: Test more offsets for _aligned_offset_realloc (especially offset > alignment). 2007-11-28 13:52:22 +01:00
Lionel Debroux 3e9fbd89d2 msvcrt: Fix _Aligned_offset_realloc (move correct block of memory); add a comment to explain why. 2007-11-28 13:52:07 +01:00
Lionel Debroux 68b1f2cde2 msvcrt: Fix memory leak (found by Smatch). 2007-11-26 13:07:30 +01:00
Michael Stefaniuc daf1ed48c3 msvcrt/tests: Remove redundant NULL check before free(). Found by Smatch. 2007-11-19 13:02:06 +01:00
Stefan Dösinger a529ef4875 msvcrt: Implement _mbsnbcpy_s. 2007-11-16 15:07:55 +01:00
Stefan Dösinger 9582f5c719 msvcrt: Implement strcat_s. 2007-11-16 15:07:26 +01:00
Stefan Dösinger 18daed62ed msvcrt: Implement strcpy_s. 2007-11-16 15:06:52 +01:00
Dan Kegel a1e4758f07 msvcrt: Fix two buglets in heap test. 2007-11-07 13:21:35 +01:00
Alexandre Julliard 3bb04c88b7 msvcrt: Silence FIXME about an unknown parameter that isn't used. 2007-10-31 12:41:49 +01:00
Mikolaj Zalewski 1f632a29ce msvcrt/tests: Loosen the mbctype test to pass under Windows 9x and NT 4.0. 2007-10-29 12:02:56 +01:00
Lionel Debroux efebe8b29b msvcrt/tests: Fix memory leak (found by Smatch). 2007-10-26 14:03:47 +02:00
Francois Gouget 015844a63c msvcrt: Fix the calling convention of _wsearchenv() and _wspawnv*(). 2007-10-15 14:05:28 +02:00
Alexandre Julliard 49864b084d msvcrt: Fix demangling of function pointers by maintaining the left/right distinction for type references. 2007-10-10 19:52:16 +02: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
Karl Relton 260fd8a4a9 msvcrt: New implementation of fcvt. 2007-09-25 12:37:32 +02:00
Hans Leidekker 1efae756c3 msvcrt: Implement _wspawnv{, e, p, pe}. 2007-09-24 14:38:53 +02:00
Hans Leidekker 7d3d98eb5c msvcrt: Implement _wsearchenv. 2007-09-24 14:37:39 +02:00
Alexandre Julliard fcae6777a4 msvcrt: Added implementation of a few more __crt functions. 2007-09-19 17:53:06 +02:00
Alexandre Julliard 35602d4106 msvcrt: Added implementation for __STRINGTOLD. 2007-09-19 17:52:40 +02:00
Tijl Coosemans 6bbd3cacb8 msvcrt: Resolve symbols clashes with FreeBSD libc. 2007-09-19 15:01:33 +02:00
Francois Gouget dd3e2be810 msvcrt: Add a prototype for _atoldbl() & co and declare _LDOUBLE & co in stdlib.h. 2007-08-30 17:02:48 +02:00
Francois Gouget a116879507 Assorted spelling fixes. 2007-08-30 12:26:02 +02:00
Alexandre Julliard 26d50d6ee1 msvcrt: Don't include mbstring.h to avoid conflicts with system headers. 2007-08-24 15:11:17 +02:00