summaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)Author
2009-06-26Merge commit 'origin/master' into fedora/masterAndreas Schwab
2009-06-16Run tst-fgetwc with necessary envvar.Ulrich Drepper
2009-06-16Merge branch 'master' of sourceware.org:/git/glibc into fedora/masterAndreas Schwab
2009-06-15(do_test): Use de_DE.UTF-8 as locale name.Bruce Dubbs
2009-06-10Merge commit 'origin/master' into fedora/masterAndreas Schwab
Conflicts: ChangeLog sysdeps/unix/sysv/linux/i386/sysconf.c sysdeps/x86_64/cacheinfo.c version.h
2009-06-09(_IO_new_file_fopen): Don't prematurely stop parsing mode string.Ulrich Drepper
2009-05-16remove subsumed .gitignore entries and filesJim Meyering
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering
2009-05-16remove COPYING* from .gitignore filesJim Meyering
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-04-27Updated to fedora-glibc-20090427T1419cvs/fedora-glibc-2_9_90-22Jakub Jelinek
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.
2009-04-25* libio/tst-widetext.input: Remove surrogates.Ulrich Drepper
2009-03-10Updated to fedora-glibc-20090310T1925cvs/fedora-glibc-2_9_90-10Jakub Jelinek
2009-03-10* include/stdio.h (fmemopen): Add libc_hidden_proto.Ulrich Drepper
* libio/fmemopen.c (fmemopen): Add libc_hidden_def. * elf/sprof.c: Avoid warning about multi-line comment.
2009-03-09Updated to fedora-glibc-20090309T1421cvs/fedora-glibc-2_9_90-9Jakub Jelinek
2009-02-26* libio/stdio.h: dprintf, fmemopen, getdelim, getline,Ulrich Drepper
open_memstream, and vdprintf are in POSIX 2008.
2009-02-18Updated to fedora-glibc-20090218T1534Jakub Jelinek
2009-02-05* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):Ulrich Drepper
Add _tid slot to maintain consistency with kernel.
2009-02-04Updated to fedora-glibc-20090204T2135cvs/fedora-glibc-2_9_90-3Jakub Jelinek
2009-02-042009-02-04 Ulrich Drepper <drepper@redhat.com>cvs/fedora-glibc-20090204T2135Ulrich Drepper
* libio/wfileops.c (_IO_wfile_underflow): Fix handling of incomplete characters at end of input buffer. * libio/Makefile (tests): Add tst-fgetwc. * libio/tst-fgetwc.c: New file. * libio/tst-fgetwc.input: New file.
2009-02-04Test of fgetwc on unbuffered stream.Ulrich Drepper
2008-08-29Updated to fedora-glibc-20080828T1623cvs/fedora-glibc-2_8_90-12Jakub Jelinek
2008-08-14[BZ #6544]Ulrich Drepper
* libio/fmemopen.c: Implement binary mode. In this mode no NUL byte gets added to writes and seeks from the end use the length of the buffer and not the currently terminating NUL byte.
2008-07-28Updated to fedora-glibc-20080728T2320cvs/fedora-glibc-2_8_90-10Jakub Jelinek
2008-07-27* libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile.Ulrich Drepper
2008-07-27* posix/wordexp.c (exec_comm): Use pipe2 if possible to createUlrich Drepper
file descriptors with close-on-exec set. (exec_comm_child): Fix the case where the write end of the pipe is STDOUT_FILENO already. In case it is, clear close-on-exec.
2008-07-27* sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.Ulrich Drepper
* io/pipe2.c: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 instead of __ASSUME_PACCEPT. * include/unistd.h: Declare __have_pipe2. * libio/iopopen.c: Implement "e" flag. * libio/Makefile (tests): Add tst-popen1. * libio/tst-popen1.c: New file.
2008-07-27* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.Ulrich Drepper
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2008-07-26[BZ #6771]Ulrich Drepper
* libio/fileops.c (_IO_new_file_attach): Preserve errno around success call of _IO_SEEKOFF or calls which failed because the descriptor is for a pipe.
2008-07-16Updated to fedora-glibc-20080716T0944cvs/fedora-glibc-2_8_90-9Jakub Jelinek
2008-07-08[BZ #6719]Ulrich Drepper
2008-07-08 Ulrich Drepper <drepper@redhat.com> [BZ #6719] * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags when selecting fully-buffered stream. Patch by Wang Xin <wxinee@gmail.com>.
2008-06-12Updated to fedora-glibc-20080612T1619cvs/fedora-glibc-2_8_90-6Jakub Jelinek
2008-05-27Remove useless more "if" tests before "free".Ulrich Drepper
* include/inline-hashtab.h (htab_delete): Likewise. * libio/freopen.c (freopen): Likewise. * libio/freopen64.c (freopen64): Likewise. * locale/programs/ld-collate.c (collate_read): Likewise. * misc/fstab.c (libc_freeres_fn): Likewise. * posix/glob.c (globfree): Likewise.
2008-05-24Updated to fedora-glibc-20080524T2218cvs/fedora-glibc-2_8_90-5Jakub Jelinek
2008-05-24* libio/stdio.h (vscanf): Fix -std=c99 redirect. Jakub Jelinek
* stdio-common/Makefile (tests): Add scanf16 and scanf17. (CFLAGS-scanf17.c): New. * stdio-common/scanf14.c (main): Add fscanf and scanf tests. * stdio-common/scanf15.c (main): Likewise. * stdio-common/scanf16.c: New test. * stdio-common/scanf17.c: New test. 2008-05-24 Jakub Jelinek <jakub@redhat.com> * libio/stdio.h (vscanf): Fix -std=c99 redirect. * stdio-common/Makefile (tests): Add scanf16 and scanf17. (CFLAGS-scanf17.c): New. * stdio-common/scanf14.c (main): Add fscanf and scanf tests. * stdio-common/scanf15.c (main): Likewise. * stdio-common/scanf16.c: New test. * stdio-common/scanf17.c: New test.
2008-04-10Updated to fedora-glibc-20080410T1907Jakub Jelinek
2008-04-09[BZ #5998]Ulrich Drepper
2008-04-09 Ulrich Drepper <drepper@redhat.com> [BZ #5998] * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing in line-buffered stream failed. * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2008-03-26Updated to fedora-glibc-20080326T1041cvs/fedora-glibc-2_7_90-12Jakub Jelinek
2008-03-19Remove useless "if" before "free".Ulrich Drepper
2008-03-05Updated to fedora-glibc-20080305T0857cvs/fedora-glibc-2_7_90-8Jakub Jelinek
2008-03-05* include/stdio.h (__asprintf_chk, __dprintf_chk,cvs/fedora-glibc-20080305T0857Ulrich Drepper
__obstack_printf_chk): New prototypes. (__vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Likewise. Add libc_hidden_proto. * libio/obprintf.c (_IO_obstack_jumps): No longer static, add attribute_hidden. * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): New prototypes. (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, obstack_vprintf): New inlines. * debug/dprintf_chk.c: New file. * debug/vdprintf_chk.c: New file. * debug/asprintf_chk.c: New file. * debug/vasprintf_chk.c: New file. * debug/obprintf_chk.c: New file. * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export @@GLIBC_2.8. * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk and obprintf_chk, set CFLAGS for them. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add libc_hidden_proto. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export @@GLIBC_2.8. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and obstack_vprintf_chk. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file.
2008-01-11Updated to fedora-glibc-20080111T0737Jakub Jelinek
2008-01-08(vscanf): Fix definition for loser compilers.Ulrich Drepper
2007-10-14Updated to fedora-glibc-20071014T1847Jakub Jelinek
2007-10-14* include/time.h: Declare __tzset_parse_tz and __tzset_compute.Ulrich Drepper
* time/tzset.c (tzset_internal): Break TZ string parsing out into __tzset_parse_tz and updating of daylight, timezone, tzname into update_vars. (__tz_compute): Renamed from tz_compute. Take additional parameters. (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now happens in __tz_compute. * time/tzfile.c (__tzfile_read): Also read TZ string. (find_transition): Fold into __tzfile_compute. (__tzfile_compute): For times beyond the last transition try to use the TZ string. * timezone/tst-timezone.c: Information in daylight and tzname does change for Asia/Tokyo timezone with more concrete information. Remove the test. * include/stdio.h: Add libc_hidden_proto for ftello. * libio/ftello.c: Add libc_hidden_def.
2007-10-13* libio/Makefile (tests): Add tst-ext2.Ulrich Drepper
* libio/tst-ext2.c: New file.
2007-10-13write-only streams. For read/write streams, check whether weUlrich Drepper
performed a read operation already.
2007-10-13[BZ #4359]Ulrich Drepper
2007-10-13 Ulrich Drepper <drepper@redhat.com> [BZ #4359] * libio/__freading.c (__freading): Don't return true for write-only streams.
2007-09-29Updated to fedora-glibc-20070929T1859cvs/fedora-glibc-2_6_90-16Jakub Jelinek