[ros-diffs] [tkreuzer] 52126: [CRT] Don't use __set_errno in libcntpr
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Tue Jun 7 09:26:50 UTC 2011
Author: tkreuzer
Date: Tue Jun 7 09:26:48 2011
New Revision: 52126
URL: http://svn.reactos.org/svn/reactos?rev=52126&view=rev
Log:
[CRT]
Don't use __set_errno in libcntpr
Modified:
trunk/reactos/lib/sdk/crt/string/splitp.c
Modified: trunk/reactos/lib/sdk/crt/string/splitp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/splitp.c?rev=52126&r1=52125&r2=52126&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/splitp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/splitp.c [iso-8859-1] Tue Jun 7 09:26:48 2011
@@ -24,7 +24,9 @@
/* Check parameter */
if (!path)
{
- //__set_errno(EINVAL);
+#ifndef _LIBCNT_
+ __set_errno(EINVAL);
+#endif
return;
}
@@ -56,7 +58,7 @@
path++;
}
- /* Check if we got */
+ /* Check if we got a file name / extension */
if (!file_start) file_start = path;
if (!ext_start || ext_start < file_start) ext_start = path;
More information about the Ros-diffs
mailing list