We do indeed need an addition to #define HAVE_SYMLINK in private.h; I've added it. The peculiar #if (HAVE_SYMLINK - 0) compiles when HAVE_SYMLINK is undefined; it's the form used in many places in the code. Since the behavior of zic is being changed, a warning seems mandatory. Since there's been one reported challenge worldwide with the lack of symlinks over the last decade, I don't sense an urgent need to be able to disable the warning. --ado *** 7.46/private.h Tue Feb 3 09:20:01 1998 --- 7.47/private.h Tue Feb 3 09:20:01 1998 *************** *** 21,27 **** #ifndef lint #ifndef NOID ! static char privatehid[] = "@(#)private.h 7.46"; #endif /* !defined NOID */ #endif /* !defined lint */ --- 21,27 ---- #ifndef lint #ifndef NOID ! static char privatehid[] = "@(#)private.h 7.47"; #endif /* !defined NOID */ #endif /* !defined lint */ *************** *** 46,51 **** --- 46,55 ---- #define HAVE_STRERROR 0 #endif /* !defined HAVE_STRERROR */ + #ifndef HAVE_SYMLINK + #define HAVE_SYMLINK 1 + #endif /* !defined HAVE_SYMLINK */ + #ifndef HAVE_UNISTD_H #define HAVE_UNISTD_H 1 #endif /* !defined HAVE_UNISTD_H */
participants (1)
-
Olson, Arthur David