]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 14 Dec 2004 15:39:54 +0000 (15:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 14 Dec 2004 15:39:54 +0000 (15:39 +0000)
2004-12-14  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading
underscore from GETCONF_DIR filenames.

ChangeLog
sysdeps/posix/sysconf.c

index fe15eac2dba8a4df386758e3ec340fe4b7ccf7ab..12a7011b238c6ef53e3860da03ac8becf5a704e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading
+       underscore from GETCONF_DIR filenames.
+
 2004-12-13  Ulrich Drepper  <drepper@redhat.com>
 
        * po/de.po: Update from translation team.
index cdd1fe9636b89730c49aac586407307ca95eb1e2..de72e848290652f88d484e30cd655b4cdc85843f 100644 (file)
@@ -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;