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.


On 09/05/2018 11:14 AM, Stefan Liebler wrote:
On 09/04/2018 06:37 PM, DJ Delorie wrote:

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?

Yes, of course. You are right.
I've updated the patch.

Thanks
Stefan

PING

Is this okay to commit?

Bye
Stefan


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