40 lines
1.5 KiB
Text
40 lines
1.5 KiB
Text
--- utils/newmail.c.orig Tue Nov 9 20:42:42 1999
|
|
+++ utils/newmail.c Sat Dec 7 23:55:41 2013
|
|
@@ -66,10 +66,6 @@ static char rcsid[] = "@(#)$Id: newmail.c,v 1.6.2.1 19
|
|
#endif
|
|
#include <sys/stat.h>
|
|
|
|
-#ifdef BSD_TYPE
|
|
-# include <sys/timeb.h>
|
|
-#endif
|
|
-
|
|
#ifdef I_UTIME
|
|
# include <utime.h>
|
|
#endif
|
|
@@ -144,7 +140,7 @@ int parent_pid; /* See if sucide should be attempt
|
|
extern int errno;
|
|
|
|
|
|
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
|
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
|
time_t utime_buffer[2]; /* utime command */
|
|
|
|
#else
|
|
@@ -329,7 +325,7 @@ char *argv[];
|
|
/* try to set the file access times back, ignore
|
|
failures */
|
|
|
|
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
|
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
|
utime(cur_folder->foldername, utime_buffer);
|
|
#else
|
|
utime(cur_folder->foldername, &utime_buffer);
|
|
@@ -697,7 +693,7 @@ char *name;
|
|
|
|
/* retain the access times for later use */
|
|
|
|
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
|
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
|
utime_buffer[0] = buffer.st_atime;
|
|
utime_buffer[1] = buffer.st_mtime;
|
|
#else
|