This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |