]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix lost wcslen symbol
authorAndreas Schwab <schwab@redhat.com>
Mon, 24 Oct 2011 09:46:19 +0000 (11:46 +0200)
committerAndreas Schwab <schwab@redhat.com>
Mon, 24 Oct 2011 10:03:33 +0000 (12:03 +0200)
ChangeLog
wcsmbs/wcslen.c

index 3b99f693dc09c3aadba1233feb39bd293ef8d5c1..a61cdbcd89eee8d0af1fd264b4b52104e7dd77ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-24  Andreas Schwab  <schwab@redhat.com>
+
+       * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
+
 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
 
        * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
index 4d7972b7c6f721974aaaeed57e74fe0e5c1e450c..991e15172016bf776a9ddeff4116b12728fa148e 100644 (file)
 #include <wchar.h>
 
 /* Return length of string S.  */
-#ifndef WCSLEN
-# define WCSLEN __wcslen
+#ifdef WCSLEN
+# define __wcslen WCSLEN
 #endif
 
 size_t
-WCSLEN (s)
+__wcslen (s)
      const wchar_t *s;
 {
   size_t len = 0;