This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: "ldconfig ." issue
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
H. J. Lu wrote:
> - add_dir (argv[i]);
> + if (opt_build_cache && argv[i][0] == '.')
> + error (0, 0, _("relative path `%s' ignored"), argv[i]);
> + else
This is not how you test for a relative patch. It ignores the case of a
real directory name being used. The correct test in Unix has always been
fname[0] != '/'
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/Haau2ijCOnn/RHQRAv0zAKCDIQeAI2HcwEnLGrmast0CfnuZ/ACgkGPS
NGJFxU5FhQlwM0SQ2rr/9mM=
=fDau
-----END PGP SIGNATURE-----