From: Ulrich Drepper Date: Tue, 14 Dec 2004 15:39:54 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/fedora-glibc-20041215T0847~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f7d96933e7e8b720e1034187656011a59b3b03c;p=thirdparty%2Fglibc.git Update. 2004-12-14 Jakub Jelinek * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading underscore from GETCONF_DIR filenames. --- diff --git a/ChangeLog b/ChangeLog index fe15eac2dba..12a7011b238 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-14 Jakub Jelinek + + * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading + underscore from GETCONF_DIR filenames. + 2004-12-13 Ulrich Drepper * po/de.po: Update from translation team. diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index cdd1fe9636b..de72e848290 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;