summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-03 18:36:14 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-03 18:36:14 +0000
commit1739d268365514afbebc6b08d31173f4df7ba8fb (patch)
treedff6477b5e4e7efed42538e55260dfaeda9f99b5 /libio
parentd15a8404ef0c8d928998b7bab64c7b2bb9e2dcf7 (diff)
downloadglibc-1739d268365514afbebc6b08d31173f4df7ba8fb.tar.gz
Update.
* libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor if ccs parameter isn't valid. Reported by Andreas Schwab. 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support for system call numbers > 255. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL, INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, INTERNAL_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL, INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, INTERNAL_SYSCALL): Likewise. 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv array if it is the initial dtv. 2003-03-03 Ulrich Drepper <drepper@redhat.com> * po/es.po: Update from translation team. * po/fr.po: Likewise. * po/sk.po: Likewise. * po/sv.po: Likewise.
Diffstat (limited to 'libio')
-rw-r--r--libio/fileops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index 5340603476..d7be49e43b 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -353,6 +353,7 @@ _IO_new_file_fopen (fp, filename, mode, is32not64)
/* Something went wrong, we cannot load the conversion modules.
This means we cannot proceed since the user explicitly asked
for these. */
+ (void) INTUSE(_IO_file_close_it) (fp);
__set_errno (EINVAL);
return NULL;
}