projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
453f885
)
* sysdeps/posix/utimes.c: Include <utime.h> for prototype.
author
roland
<roland>
Sun, 17 Sep 1995 20:07:26 +0000
(20:07 +0000)
committer
roland
<roland>
Sun, 17 Sep 1995 20:07:26 +0000
(20:07 +0000)
(utimes): First parameter to utime must be file, not path.
sysdeps/posix/utimes.c
patch
|
blob
|
history
diff --git
a/sysdeps/posix/utimes.c
b/sysdeps/posix/utimes.c
index
ca542c6
..
2c92803
100644
(file)
--- a/
sysdeps/posix/utimes.c
+++ b/
sysdeps/posix/utimes.c
@@
-16,6
+16,7
@@
License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
+#include <utime.h>
#include <sys/time.h>
#include <errno.h>
#include <stddef.h>
@@
-36,7
+37,7
@@
__utimes (const char *file, struct timeval tvp[2])
else
times = NULL;
- return utime (
path
, times);
+ return utime (
file
, times);
}
weak_alias (__utimes, utimes)