projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e6a5f2
)
(__futimes): Use __set_errno.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 7 Jan 2005 04:56:33 +0000
(
04:56
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 7 Jan 2005 04:56:33 +0000
(
04:56
+0000)
sysdeps/unix/sysv/linux/futimes.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/futimes.c
b/sysdeps/unix/sysv/linux/futimes.c
index
27b453c
..
0c4be2b
100644
(file)
--- a/
sysdeps/unix/sysv/linux/futimes.c
+++ b/
sysdeps/unix/sysv/linux/futimes.c
@@
-82,14
+82,14
@@
__futimes (int fd, const struct timeval tvp[2])
case ELOOP:
case ENAMETOOLONG:
case ENOTDIR:
-
errno = ENOSYS
;
+
__set_errno (ENOSYS)
;
break;
case ENOENT:
/* Validate the file descriptor by letting fcntl set errno to
EBADF if it's bogus. Otherwise it's a /proc issue. */
if (INLINE_SYSCALL (fcntl, 3, fd, F_GETFD, 0) != -1)
-
errno = ENOSYS
;
+
__set_errno (ENOSYS)
;
break;
}