svn commit: trunk/uClibc/libc/stdlib
aldot at uclibc.org
aldot at uclibc.org
Sat Jun 7 14:29:20 UTC 2008
Author: aldot
Date: 2008-06-07 07:29:19 -0700 (Sat, 07 Jun 2008)
New Revision: 22259
Log:
- remove __USE_BSD guard from __bsd_getpt().
Fixes compilation error for defined UCLIBC_HAS_PTY && !defined UNIX98PTY_ONLY
which need both __libc_ptyname1 and __libc_ptyname2 for ptsname_r().
Modified:
trunk/uClibc/libc/stdlib/bsd_getpt.c
Changeset:
Modified: trunk/uClibc/libc/stdlib/bsd_getpt.c
===================================================================
--- trunk/uClibc/libc/stdlib/bsd_getpt.c 2008-06-07 13:59:27 UTC (rev 22258)
+++ trunk/uClibc/libc/stdlib/bsd_getpt.c 2008-06-07 14:29:19 UTC (rev 22259)
@@ -22,7 +22,6 @@
#include <string.h>
#include <unistd.h>
-#if defined __USE_BSD
libc_hidden_proto(open)
/* Experimentally off - libc_hidden_proto(mempcpy) */
@@ -77,4 +76,3 @@
__set_errno (ENOENT);
return -1;
}
-#endif
More information about the uClibc-cvs
mailing list