1#ifndef lint 2#ifndef NOID
| 1#ifndef lint 2#ifndef NOID
|
3static char elsieid[] = "@(#)zic.c 7.96";
| 3static const char elsieid[] = "@(#)zic.c 7.96";
|
4#endif /* !defined NOID */ 5#endif /* !defined lint */ 6 7#ifndef lint 8static const char rcsid[] =
| 4#endif /* !defined NOID */ 5#endif /* !defined lint */ 6 7#ifndef lint 8static const char rcsid[] =
|
9 "$FreeBSD: head/usr.sbin/zic/zic.c 50479 1999-08-28 01:35:59Z peter $";
| 9 "$FreeBSD: head/usr.sbin/zic/zic.c 69315 2000-11-28 18:18:56Z charnier $";
|
10#endif /* not lint */ 11 12#include "private.h" 13#include "tzfile.h" 14#include <err.h> 15#include <locale.h> 16#include <sys/stat.h> /* for umask manifest constants */ 17#include <sys/types.h> 18#include <unistd.h> 19 20/* 21** On some ancient hosts, predicates like `isspace(C)' are defined 22** only if isascii(C) || C == EOF. Modern hosts obey the C Standard, 23** which says they are defined only if C == ((unsigned char) C) || C == EOF.
| 10#endif /* not lint */ 11 12#include "private.h" 13#include "tzfile.h" 14#include <err.h> 15#include <locale.h> 16#include <sys/stat.h> /* for umask manifest constants */ 17#include <sys/types.h> 18#include <unistd.h> 19 20/* 21** On some ancient hosts, predicates like `isspace(C)' are defined 22** only if isascii(C) || C == EOF. Modern hosts obey the C Standard, 23** which says they are defined only if C == ((unsigned char) C) || C == EOF.
|
24** Neither the C Standard nor Posix require that `isascii' exist.
| 24** Neither the C Standard nor POSIX require that `isascii' exist.
|
25** For portability, we check both ancient and modern requirements. 26** If isascii is not defined, the isascii check succeeds trivially. 27*/ 28#include "ctype.h" 29#ifndef isascii 30#define isascii(x) 1 31#endif 32
--- 2196 unchanged lines hidden --- | 25** For portability, we check both ancient and modern requirements. 26** If isascii is not defined, the isascii check succeeds trivially. 27*/ 28#include "ctype.h" 29#ifndef isascii 30#define isascii(x) 1 31#endif 32
--- 2196 unchanged lines hidden --- |