strerror() is ANSI
(and not found by default on e.g. SUNOS4 and SVR2)
This commit is contained in:
+1
-1
@@ -1558,7 +1558,7 @@ const char *filename;
|
|||||||
/* e.g., problems when setuid NetHack can't search home
|
/* e.g., problems when setuid NetHack can't search home
|
||||||
* directory restricted to user */
|
* directory restricted to user */
|
||||||
|
|
||||||
#if defined(POSIX_TYPES) || defined(BSD) || defined(SYSV)
|
#if defined (NHSTDC) && !defined(NOTSTDC)
|
||||||
if ((details = strerror(errno)) == 0)
|
if ((details = strerror(errno)) == 0)
|
||||||
#endif
|
#endif
|
||||||
details = "";
|
details = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user