tOnly use futimesat on Solaris 9 - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3df902ecd04c688912230dab520a12279fd5a5b9
(DIR) parent 1b431b180d1e2ad77b69fd7d69bb20de0bab3e40
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 26 Mar 2004 05:06:22 +0000
Only use futimesat on Solaris 9
Diffstat:
M src/lib9/dirfwstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/lib9/dirfwstat.c b/src/lib9/dirfwstat.c
t@@ -7,7 +7,7 @@
#if defined(__FreeBSD__) || defined(__APPLE__)
/* do nothing -- futimes exists and is fine */
-#elif defined(__sun__)
+#elif defined(__SunOS5_9__)
/* use futimesat */
static int
futimes(int fd, struct timeval *tv)