From d6b2a407783dbbd6c9680601da005de0bb0ff37d Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 17 Jun 2002 09:45:15 +0000 Subject: Commit the new time stuff, even though I haven't made it threadsafe yet. At least people can play with it. Also, fix a buglet in setenv.c. --- libc/misc/time/utimes.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 libc/misc/time/utimes.c (limited to 'libc/misc/time/utimes.c') diff --git a/libc/misc/time/utimes.c b/libc/misc/time/utimes.c deleted file mode 100644 index 86dff6bea..000000000 --- a/libc/misc/time/utimes.c +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include -#include - -int utimes (const char *file, const struct timeval tvp[2]) -{ - struct utimbuf buf, *times; - - if (tvp) { - times = &buf; - times->actime = tvp[0].tv_sec; - times->modtime = tvp[1].tv_sec; - } - else - times = NULL; - return utime(file, times); -} -- cgit v1.2.3