This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: comparing pointers inside builtins.c


>>>>> "Chip" == Chip Salzenberg <chip@valinux.com> writes:

    Chip> According to Mark Mitchell:
    >> (STRING_CSTs can contain embedded NULs, so you must use
    >> strncmp.)

    Chip> Would you mean 'memcmp' there? 

Yup.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]