This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Adjust name-prefix of ld.so in test-container.c.
- From: DJ Delorie <dj at redhat dot com>
- To: Stefan Liebler <stli at linux dot ibm dot com>
- Cc: fweimer at redhat dot com, libc-alpha at sourceware dot org
- Date: Tue, 04 Sep 2018 12:37:55 -0400
- Subject: 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?