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.…
==============================================================================
--- 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;