https://sourceware.org/bugzilla/show_bug.cgi?id=32018

--- Comment #3 from bigmagicreadsun <bigmagicreadsun at gmail dot com> ---
(In reply to Vladimir Mezentsev from comment #2)
> I don't have CentOS 6.
> How is strchr defined in your /usr/include/string.h ?
> Is this a macro?
> 
> On my Linux:
> % grep -n -w strchr /usr/include/strin*
> /usr/include/string.h:206:extern char *strchr (char *__s, int __c)
> /usr/include/string.h:207:     __THROW __asm ("strchr") __attribute_pure__
> __nonnull ((1));

In the CentOS 6, the macro of strchr macro in /usr/include/string.h also
exists.

grep -n -w strchr /usr/include/strin*

/usr/include/string.h:215:extern char *strchr (char *__s, int __c)
/usr/include/string.h:216:     __THROW __asm ("strchr") __attribute_pure__
__nonnull ((1));
/usr/include/string.h:217:extern __const char *strchr (__const char *__s, int
__c)
/usr/include/string.h:218:     __THROW __asm ("strchr") __attribute_pure__
__nonnull ((1));
/usr/include/string.h:222:strchr (char *__s, int __c) __THROW
/usr/include/string.h:228:strchr (__const char *__s, int __c) __THROW
/usr/include/string.h:235:extern char *strchr (__const char *__s, int __c)
/usr/include/string.h:268:/* This function is similar to `strchr'.  But it
returns a pointer to
/usr/include/string.h:465:/* Find the first occurrence of C in S (same as
strchr).  */
/usr/include/strings.h:50:/* Find the first occurrence of C in S (same as
strchr).  */

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to