[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HAVE_UTIME error in scheduler/qprint.c and transports/mailbox/mailbox.c
Build:
2.99.50s3, --with-gcc --with-system-malloc --with-bundled-libresolv, on
HP-UX 9.04
Problem:
scheduler/qprint.c and transports/mailbox/mailbox.c rely on HAVE_UTIME
macro to decide whether to use utime() or utimes() call. Unfortunately,
autoconfigure only knows about HAVE_UTIME_H, HAVE_UTIMES, and
HAVE_UTIME_NULL. These should be changed to something like this:
#ifdef HAVE_UTIMES
...
utimes()
#else
#ifdef HAVE_UTIME_H
...
utime()
#else
...
#endif
#endif