[PATCH] Fix utime
Jakub Jelinek
jakub@redhat.com
Tue Sep 28 07:27:00 GMT 2004
Hi!
Even the comment says if FILE_TIMES is NULL, ...
2004-09-28 Jakub Jelinek <jakub@redhat.com>
* io/utime.h (utime): Allow second argument to be NULL.
--- libc/io/utime.h.jj 2004-09-20 15:34:57.000000000 +0200
+++ libc/io/utime.h 2004-09-28 09:23:29.434374738 +0200
@@ -45,7 +45,7 @@ struct utimbuf
*FILE_TIMES. If FILE_TIMES is NULL, set them to the current time. */
extern int utime (__const char *__file,
__const struct utimbuf *__file_times)
- __THROW __nonnull ((1, 2));
+ __THROW __nonnull ((1));
__END_DECLS
Jakub
More information about the Libc-hacker
mailing list