a. Unix build system changes
- configure --help now also outputs --program-suffix and --program-prefix
information by using the Autoconf AC_ARG_PROGRAM macro.
- - Obsolescent macro AC_FUNC_VPRINTF has been removed and the HAVE_VPRINTF
- symbol is no longer defined since it is not needed on current systems.
+ - Obsolescent macros AC_FUNC_VPRINTF and AC_FUNC_UTIME_NULL have been
+ removed. Symbols HAVE_VPRINTF and HAVE_UTIME_NULL are no longer defined
+ since they are not needed on the current systems.
b. Windows build system changes
fi
AC_REPLACE_FUNCS(strlcat strlcpy explicit_bzero getopt)
-AC_FUNC_UTIME_NULL
AC_FUNC_ALLOCA
dnl PHP_AC_BROKEN_SPRINTF
dnl PHP_AC_BROKEN_SNPRINTF
PS_UPDATE_TIMESTAMP_FUNC(files)
{
char buf[MAXPATHLEN];
- struct utimbuf newtimebuf;
- struct utimbuf *newtime = &newtimebuf;
int ret;
PS_FILES_DATA;
}
/* Update mtime */
-#ifdef HAVE_UTIME_NULL
- newtime = NULL;
-#else
- newtime->modtime = newtime->actime = time(NULL);
-#endif
- ret = VCWD_UTIME(buf, newtime);
+ ret = VCWD_UTIME(buf, NULL);
if (ret == -1) {
/* New session ID, create data file */
return ps_files_write(data, key, val);
switch (argc) {
case 1:
-#ifdef HAVE_UTIME_NULL
newtime = NULL;
-#else
- newtime->modtime = newtime->actime = time(NULL);
-#endif
break;
case 2:
newtime->modtime = newtime->actime = filetime;
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
#undef HAVE_STRUCT_STAT_ST_BLOCKS
#define HAVE_STRUCT_STAT_ST_RDEV 1
-#define HAVE_UTIME_NULL 1
#define STDC_HEADERS 1
#define REGEX 1
#define HSREGEX 1