aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-14 15:39:54 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-14 15:39:54 +0000
commit1f7d96933e7e8b720e1034187656011a59b3b03c (patch)
treef0ab8354998a9595783b839ea6cabd7b475ff2e0 /sysdeps/posix
parent9340b0881fe33684c880409ae4131a80db8817d9 (diff)
downloadglibc-1f7d96933e7e8b720e1034187656011a59b3b03c.zip
glibc-1f7d96933e7e8b720e1034187656011a59b3b03c.tar.gz
glibc-1f7d96933e7e8b720e1034187656011a59b3b03c.tar.bz2
Update.
2004-12-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading underscore from GETCONF_DIR filenames.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/sysconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index cdd1fe9..de72e84 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -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;