diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-03-07 09:37:46 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-03-07 17:45:38 +0100 |
commit | 8492c4dd699e2a65a5a2e8fca3e0e530326c92b9 (patch) | |
tree | 86655668aff2779cb76e71c2abfdbe42a80d720b /posix/sysconf.c | |
parent | 1c1243b6fc33c029488add276e56570a07803bfd (diff) | |
download | glibc-8492c4dd699e2a65a5a2e8fca3e0e530326c92b9.zip glibc-8492c4dd699e2a65a5a2e8fca3e0e530326c92b9.tar.gz glibc-8492c4dd699e2a65a5a2e8fca3e0e530326c92b9.tar.bz2 |
timezone: Remove TZNAME_MAX limit from sysconf [BZ #15576]
glibc does not impose a limit, and POSIX does not allow a
sysconf limit which changes during the lifetime of a process.
Diffstat (limited to 'posix/sysconf.c')
-rw-r--r-- | posix/sysconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/sysconf.c b/posix/sysconf.c index 0b73b6a..4e9ed97 100644 --- a/posix/sysconf.c +++ b/posix/sysconf.c @@ -37,7 +37,7 @@ __sysconf (int name) return -1; case _SC_TZNAME_MAX: - return MAX (__tzname_max (), _POSIX_TZNAME_MAX); + return -1; case _SC_CHARCLASS_NAME_MAX: #ifdef CHARCLASS_NAME_MAX |