mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Formerly sysdeps/unix/sysv/sysv4/__sysconf.c.~3~
This commit is contained in:
parent
0d93c21cf1
commit
aca28d6c27
@ -66,7 +66,11 @@ DEFUN(__sysconf, (name), int name)
|
||||
return __sysconfig (_CONFIG_OPEN_FILES);
|
||||
|
||||
case _SC_TZNAME_MAX:
|
||||
return __tzname_max ();
|
||||
#ifdef TZNAME_MAX
|
||||
return __tzname_max > TZNAME_MAX ? __tzname_max : TZNAME_MAX;
|
||||
#else
|
||||
return __tzname_max;
|
||||
#endif
|
||||
|
||||
case _SC_JOB_CONTROL:
|
||||
#ifdef _POSIX_JOB_CONTROL
|
||||
|
Loading…
Reference in New Issue
Block a user