This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Adjust name-prefix of ld.so in test-container.c.


Stefan Liebler <stli@linux.ibm.com> writes:
> +  if (strncmp (argv[1], support_objdir_elf_ldso,
> +	       strlen (support_objdir_elf_ldso)) == 0)

If we're comparing the whole name now, this could be a strcmp() instead?


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