summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-27 08:25:37 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-27 08:25:37 +0000
commit11ed3eaed92bf9e04925ec50a696eda5b6df0c33 (patch)
tree9004bee21d02c05cce456cd44d3fd6625d5b3825 /libio
parentc4a710b6b00590e2a4d852beea72cd5a69d3a7bb (diff)
downloadglibc-11ed3eaed92bf9e04925ec50a696eda5b6df0c33.tar.gz
* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
Diffstat (limited to 'libio')
-rw-r--r--libio/fileops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index f5b256998d..cf47c915a7 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -432,7 +432,7 @@ _IO_new_file_attach (fp, fd)
if (_IO_SEEKOFF (fp, (_IO_off64_t)0, _IO_seek_cur, _IOS_INPUT|_IOS_OUTPUT)
== _IO_pos_BAD && errno != ESPIPE)
return NULL;
- errno = save_errno;
+ __set_errno (save_errno);
return fp;
}
INTDEF2(_IO_new_file_attach, _IO_file_attach)