Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2004-12-14  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading
	underscore from GETCONF_DIR filenames.
  • Loading branch information
Ulrich Drepper committed Dec 14, 2004
1 parent 9340b08 commit 1f7d969
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/posix/sysconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1f7d969

Please sign in to comment.