(__strdup): Call __strdup not strdup in case of non-constant string.
authordrepper <drepper>
Wed, 18 Mar 1998 14:46:49 +0000 (14:46 +0000)
committerdrepper <drepper>
Wed, 18 Mar 1998 14:46:49 +0000 (14:46 +0000)
string/bits/string2.h

index 68890ce..ca47a54 100644 (file)
@@ -865,7 +865,7 @@ __strsep_g (char **__s, __const char *__reject)
                          if (retval != NULL)                                 \
                            retval = (char *) memcpy (retval, s, len);        \
                          retval; }))                                         \
-                 : strdup (s)))
+                 : __strdup (s)))
 
 # if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 #  define strdup(s) __strdup (s)