Commit Graph

78 Commits

Author SHA1 Message Date
Piotr Caban 1b5a551324 msvcrt: Don't duplicate _wsearchenv_s code in _wsearchenv.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:40:10 +01:00
Piotr Caban f05549b7f7 msvcrt: Add support for quoted paths in _wsearchenv_s.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:40:07 +01:00
Piotr Caban 98c554ac06 msvcrt: Don't duplicate _searchenv_s code in _searchenv.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:40:03 +01:00
Piotr Caban 2e7ad72a8d msvcrt: Add support for quoted paths in _searchenv_s.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:39:57 +01:00
Piotr Caban 1d0cca465a msvcrt: Add support for quoted paths in _searchenv.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:29:48 +01:00
Kirill Erofeev 83470d449d msvcrt: Fix _searchenv, _searchenv_s, _wsearchenv, _wsearchenv_s.
Signed-off-by: Kirill Erofeev <erofeev.info@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:54 +01:00
Nikolay Sivov c03e5ed3be msvcrt: Added _wfindnext32().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 17:55:07 +01:00
Piotr Caban e70bf5f8c6 msvcrt: Fix compilation errors on Mingw. 2014-04-16 18:00:01 +02:00
Akihiro Sagawa ab5db46477 msvcrt: Add MBCS handling for _splitpath. 2014-04-14 20:19:01 +02:00
Jactry Zeng 60faef8e3c msvcrt: Added _wfindfirst32 implementation. 2013-04-19 19:17:08 +02:00
Piotr Caban d3ecfe0599 msvcrt: Fixed _localtime64 implementation. 2012-12-10 17:36:28 +01:00
Alexandre Julliard 06989a0483 msvcrt: Make sure that errno is always set when calling the invalid parameter handler. 2012-07-26 11:05:32 +02:00
Alexandre Julliard 446a6b3556 msvcrt: Use the correct type for findnext64. 2012-01-06 21:57:38 +01:00
Frédéric Delanoy 520a92de33 msvcrt: Avoid hardcoding array lengths. 2011-11-23 09:11:22 +01:00
Piotr Caban 95f3be6573 msvcrt: Added missing calling convention specification. 2011-10-14 13:12:28 +02:00
Piotr Caban f9de4eef75 msvcrt: Fix mingw compilation issues. 2011-06-03 17:44:06 +02:00
Nikolay Sivov 82763983dc msvcrt: Added _findnext32() implementation. 2011-03-15 17:14:07 +01:00
Nikolay Sivov cd7f096210 msvcrt: Add _findfirst32() implementation. 2011-03-15 17:14:07 +01:00
André Hentschel e165464eea msvcrt: Implement _wfindnext64. 2011-02-28 15:49:40 +01:00
André Hentschel 1601a264e8 msvcrt: Implement _wfindfirst64. 2011-02-28 15:49:28 +01:00
Eryk Wieliczko 40874d91d9 msvcrt: Implement _wfindnext64i32. 2010-11-23 14:16:22 +01:00
Eryk Wieliczko 7d50809705 msvcrt: Implement _wfindfirst64i32. 2010-11-23 14:16:22 +01:00
Eric Pouech 83d87f3b13 msvcrt: Implemented (w)searchenv_s. 2010-11-03 11:08:55 +01:00
Eryk Wieliczko 566d8e5eaa msvcrt: Implement _findfirst64i32 and _findnext64i32. 2010-11-02 11:22:25 +01:00
Piotr Caban 1861c2162d msvcrt: Fix _splitpath and _wsplitpath implementation. 2010-09-02 11:49:58 +02:00
Piotr Caban 899d9a042b msvcrt: Added _splitpath_s implementation. 2010-08-30 11:26:30 +02:00
Andrew Nguyen 58dd97efcf msvcrt: Implement _wmakepath_s. 2010-06-25 12:49:57 +02:00
Andrew Nguyen 9628a0d3e4 msvcrt: Implement _makepath_s. 2010-06-25 12:49:44 +02:00
Marcus Meissner debd7d36d0 msvcrt: Implement findfirst64 and findnext64. 2010-04-15 16:26:55 +02:00
Alexandre Julliard d8ab5a14aa msvcrt: Use intptr_t or size_t instead of long where appropriate. 2008-12-12 10:19:55 +01:00
Eric Pouech 3a2dda11e9 msvcrt: Implemented splitpath_s. 2008-10-07 15:24:00 +02:00
Rob Shearman ed9cd3ede2 msvcrt: Fix mutual exclusion over logical or is always a non-zero constant.
Logical and should have been used instead.
2008-09-23 16:00:05 +02:00
Jon Griffiths 7b7cd31f05 msvcrt: Make tests for [w]makepath pass. 2008-07-09 12:35:07 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Andrew Talbot a69418c52c msvcrt: Remove unneeded casts. 2008-01-14 13:09:56 +01:00
Hans Leidekker 7d3d98eb5c msvcrt: Implement _wsearchenv. 2007-09-24 14:37:39 +02:00
Tijl Coosemans 6bbd3cacb8 msvcrt: Resolve symbols clashes with FreeBSD libc. 2007-09-19 15:01:33 +02:00
Peter Beutner 1a688cd058 msvcrt: Fix _makepath(). 2007-08-07 12:36:23 +02:00
Alexandre Julliard b2acafad44 msvcrt: Fixed buffer allocation in _getcwd/_wgetcwd. 2007-07-27 12:17:58 +02:00
Andrew Talbot 9069577cd0 msvcrt: Exclude unused headers. 2007-05-15 12:19:12 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Alexandre Julliard 24beabfd4e msvcrt: Explicitly specify CDECL calling convention on exported functions. 2006-06-13 11:40:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Marcus Meissner 71908c41c3 msvcrt: _makepath(): operate on target buffer directly. 2006-01-17 16:20:37 +01:00
Aric Stewart e09a6c8080 msvcrt: Reworked _fullpath.
Investigation with native msvcrt revealed that it is a wrapper for
GetFullPathName and the current implementation was crashing with older
mozilla installs if the path passed in was uninitialized.
2006-01-06 21:45:26 +01:00
Eric Pouech 98b2e381f6 _findclose() exists on MinGW, so prefix it. 2005-05-29 20:04:40 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Gunnar Dalsnes 1b7e736334 When getting current directory on a drive different from the working
drive, _getdcwd incorrectly passed "X:\" (X = any drive) as path to
GetFullPathName. "X:" (without the backslash) is the correct thing to
use.
2005-02-18 12:51:00 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Dimitrie O. Paun 0377462460 Split the MSVCRT implementation headers from the public headers.
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00