[uClibc-cvs] uClibc/libc/string wstring.c,1.18,1.19
Manuel Novoa III
mjn3 at uclibc.org
Wed Feb 11 23:48:50 UTC 2004
- Previous message: [uClibc-cvs] uClibc/libc/stdlib abort.c, 1.16, 1.17 ptsname.c, 1.8, 1.9 stdlib.c, 1.12, 1.13
- Next message: [uClibc-cvs] uClibc/libc/sysdeps/linux/common/bits uClibc_uintmaxtostr.h, NONE, 1.1 uClibc_locale.h, 1.12, 1.13 uClibc_stdio.h, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/uClibc/libc/string
In directory nail:/tmp/cvs-serv16121/libc/string
Modified Files:
wstring.c
Log Message:
New stdio core. Should be more maintainable. Fixes a couple of bugs.
Codepaths streamlined. Improved performance for nonthreaded apps
when linked with a thread-enabled libc.
Minor iconv bug and some locale/thread related startup issues fixed.
These showed up in getting a gcj-compiled java helloworld app running.
Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
Index: wstring.c
===================================================================
RCS file: /var/cvs/uClibc/libc/string/wstring.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- wstring.c 11 Sep 2003 16:57:15 -0000 1.18
+++ wstring.c 11 Feb 2004 23:48:46 -0000 1.19
@@ -36,7 +36,6 @@
* mapping of signal strings (alpha, mips, hppa, sparc).
*/
-#define _STDIO_UTILITY
#define _GNU_SOURCE
#include <string.h>
#include <strings.h>
@@ -48,6 +47,7 @@
#include <signal.h>
#include <assert.h>
#include <locale.h>
+#include <bits/uClibc_uintmaxtostr.h>
#ifdef WANT_WIDE
#include <wchar.h>
@@ -2326,14 +2326,7 @@
message = (sep += 2); /* or passed an empty string. */
}
-#if 1
fprintf(stderr, "%s%s%s\n", message, sep, strsignal(signum));
-#else
- /* Note: Assumes stderr not closed or buffered. */
- __STDIO_THREADLOCK(stderr);
- _stdio_fdout(STDERR_FILENO, message, sep, strsignal(signum));
- __STDIO_THREADUNLOCK(stderr);
-#endif
}
#endif
- Previous message: [uClibc-cvs] uClibc/libc/stdlib abort.c, 1.16, 1.17 ptsname.c, 1.8, 1.9 stdlib.c, 1.12, 1.13
- Next message: [uClibc-cvs] uClibc/libc/sysdeps/linux/common/bits uClibc_uintmaxtostr.h, NONE, 1.1 uClibc_locale.h, 1.12, 1.13 uClibc_stdio.h, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the uClibc-cvs
mailing list