* [PATCH] Follow up for the /usr/libexec/getconf file renaming
@ 2004-12-14 15:15 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2004-12-14 15:15 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
Withouth this, sysconf (_POSIX_V6_whatever) will not work for the other
ABI environments.
2004-12-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading
underscore from GETCONF_DIR filenames.
--- libc/sysdeps/posix/sysconf.c.jj 2004-12-13 09:39:54.000000000 +0100
+++ libc/sysdeps/posix/sysconf.c 2004-12-14 16:12:44.926421643 +0100
@@ -1227,9 +1227,9 @@ __sysconf_check_spec (const char *spec)
size_t getconf_dirlen = strlen (getconf_dir);
size_t speclen = strlen (spec);
- char name[getconf_dirlen + sizeof ("/_POSIX_V6_") + speclen];
+ char name[getconf_dirlen + sizeof ("/POSIX_V6_") + speclen];
memcpy (mempcpy (mempcpy (name, getconf_dir, getconf_dirlen),
- "/_POSIX_V6_", sizeof ("/_POSIX_V6_") - 1),
+ "/POSIX_V6_", sizeof ("/POSIX_V6_") - 1),
spec, speclen + 1);
struct stat64 st;
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-14 15:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-14 15:15 [PATCH] Follow up for the /usr/libexec/getconf file renaming Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).