diff options
| author | christos <christos@NetBSD.org> | 2008-08-27 08:53:55 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2008-08-27 08:53:55 +0000 |
| commit | e9d445137d0fa9950f4638e3521382467cc1ea49 (patch) | |
| tree | 1874ce62ccafad5fe8dfb596f0193145f2563173 | |
| parent | 70e554789a6716eb7e6842b2199e171b067170f8 (diff) | |
Make _POSIX_TZNAME_MAX=6 per SUSv3, from Andy Shevchenko
| -rw-r--r-- | include/limits.h | 4 | ||||
| -rw-r--r-- | sys/sys/sysctl.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/limits.h b/include/limits.h index 8b48683b2ee..077a9a9f03c 100644 --- a/include/limits.h +++ b/include/limits.h @@ -1,4 +1,4 @@ -/* $NetBSD: limits.h,v 1.27 2008/08/04 17:08:49 matt Exp $ */ +/* $NetBSD: limits.h,v 1.28 2008/08/27 08:53:55 christos Exp $ */ /* * Copyright (c) 1988, 1993 @@ -64,7 +64,7 @@ #define _POSIX_THREAD_THREADS_MAX 64 #define _POSIX_TIMER_MAX 32 #define _POSIX_TTY_NAME_MAX 9 -#define _POSIX_TZNAME_MAX 3 +#define _POSIX_TZNAME_MAX 6 #define _POSIX2_BC_BASE_MAX 99 #define _POSIX2_BC_DIM_MAX 2048 diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index e0d3337ff82..a183231f12c 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1,4 +1,4 @@ -/* $NetBSD: sysctl.h,v 1.176 2008/04/29 16:21:27 ad Exp $ */ +/* $NetBSD: sysctl.h,v 1.177 2008/08/27 08:53:55 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -852,7 +852,7 @@ struct kinfo_file { #define USER_POSIX2_SW_DEV 17 /* int: POSIX2_SW_DEV */ #define USER_POSIX2_UPE 18 /* int: POSIX2_UPE */ #define USER_STREAM_MAX 19 /* int: POSIX2_STREAM_MAX */ -#define USER_TZNAME_MAX 20 /* int: POSIX2_TZNAME_MAX */ +#define USER_TZNAME_MAX 20 /* int: _POSIX_TZNAME_MAX */ #define USER_ATEXIT_MAX 21 /* int: {ATEXIT_MAX} */ #define USER_MAXID 22 /* number of valid user ids */ |
