aboutsummaryrefslogtreecommitdiff
path: root/io
AgeCommit message (Collapse)AuthorFilesLines
2012-11-14Adding missing -fexception CFLAGSMarcus Shawcroft1-0/+2
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge74-90/+0
2012-10-24Use build directory instead of `pwd` in ftwtest-sh.Joseph Myers1-1/+1
2012-10-24Always define off_t, mode_t, pid_tAndreas Jaeger1-24/+28
* io/fcntl.h: Always define mode_t, off_t, pid_t and use these types for creat, creat64, lockf, posix_fadvise, posix_fallocate. [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t. [__USE_LARGEFILE64]: Use off64_t in declaration of lock64, posix_fadvise64, posix_fallocate64.
2012-10-24Define and use $(run-built-tests).Joseph Myers1-1/+1
2012-10-20Alsways include <bits/types.h> in <fcntl.h>.Roland McGrath1-1/+3
Move include of <bits/types.h> to the top and include it unconditionally.
2012-10-19Use $(built-program-cmd) in io/ftwtest-sh.Joseph Myers2-16/+13
2012-10-19Use working directory, not /tmp, in io/ftwtest-sh.Joseph Myers1-2/+2
2012-10-01Define __have_atfcts global in stub openat implementation.Roland McGrath1-1/+8
2012-09-28Fix stub open.c to define __libc_open.Roland McGrath1-5/+8
2012-09-28tst-mknodat: create a FIFO instead of a socketPino Toscano1-14/+14
A FIFO is the only special file which is guaranteed to be created with mknod/mknodat.
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin2-3/+5
2012-09-25Add copyright notices to testsuite shell scriptsDmitry V. Levin1-0/+17
2012-08-15Move stub lseek.c to the right directory.Roland McGrath1-0/+52
2012-08-06Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.Roland McGrath2-3/+20
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath3-10/+9
2012-05-12Avoid dup3 PLT usage.Thomas Schwinge1-2/+3
Fixes fallout from 5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.
2012-05-10Hurd: Define some posix typesSamuel Thibault1-2/+24
2012-04-29Fix attributes for fortify functions.Marek Polacek4-8/+8
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-2/+0
2012-02-26Add first fixes for conformtest for POSIX2008Ulrich Drepper1-2/+4
2012-02-26Fix up POSIX testing in conformtestUlrich Drepper1-1/+1
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert115-345/+230
2012-01-08bits/poll2.h needs __BEGIN/__END_DECLSUlrich Drepper1-0/+4
2012-01-08Install bits/poll2.hUlrich Drepper1-2/+2
2012-01-08Add checking versions of poll and ppollUlrich Drepper3-1/+86
2012-01-07Remove pre-ISO C supportUlrich Drepper8-97/+97
No more __const.
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath1-5/+2
2011-05-15Fix a few problems in fopen and freopenUlrich Drepper1-1/+2
fopen should set the FD_CLOEXEC flag if requested evenif the kernel does not support an aotmic operation. freopen should reuse the file descriptor for the stream. This is especially important for calls to change the standard streams (stin, stdout, stderr).
2011-04-22Remove doubled words.Jim Meyering1-2/+2
2011-04-01Really implement fallocate{,64} and sync_file_range as cancellation points.Ulrich Drepper1-1/+4
2011-04-01Fix typos in comments.Ulrich Drepper1-1/+1
2011-04-01Define AT_EMPTY_PATH.Ulrich Drepper1-0/+1
2011-01-17Define AT_NO_AUTOMOUNT.Ulrich Drepper1-1/+3
2010-04-04Fix definition and testing of S_ISSOCK.Ulrich Drepper1-2/+4
2010-02-10Fix file descriotor leak in nftw with FTW_CHDIRUlrich Drepper1-1/+2
2010-01-11Fix up sys/stat.h for XPG7.Ulrich Drepper1-2/+2
2010-01-09Add support for XPG7 testing.Ulrich Drepper1-6/+53
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-05-16Remove redundant .gitignore files.Andreas Schwab1-6/+0
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-05-07* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper1-1/+3
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
2009-03-02Pretty printing.Ulrich Drepper1-13/+13
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper1-2/+1
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-02-26* include/features.h: Define macros for XPG7/POSIX 2008.Ulrich Drepper1-2/+2
* sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. * io/sys/stat.h: Move mknodat definition into same conditional as mknod. * time/sys/time.h: futimesat is not among the functions accepted into the POSIX standard.
2009-02-24* io/sys/stat.h: The lstat functions have been mandatory since 2001.Ulrich Drepper1-1/+1
2009-02-16* stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek1-2/+3
* sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2008-07-29* io/ftw.c (add_object): Remove inline to avoid warning.Ulrich Drepper1-2/+2
2008-07-27* sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.Ulrich Drepper1-1/+2
* 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-25* Versions.def (glibc): Add GLIBC_2.9.Ulrich Drepper4-2/+96
* io/Makefile (routines): Add dup3 and pipe2. * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. * io/dup3.c: New file. * io/pipe2.c: New file. * posix/unistd.h: Declare dup3 and pipe2. * socket/Makefile (routines): Add paccept. * socket/Versions [glibc] (GLIBC_2.9): Add paccept. * socket/paccept.c: New file. * socket/sys/socket.h: Declare paccept. * sysdeps/unix/syscalls.list: Add entry for dup3. * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add epoll_create2 and inotify_init1. * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. * sysdeps/unix/sysv/linux/paccept.c: New file. * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if possible. * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, inotify_init1, and pipe2 entries. * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and SOCK_NONBLOCK. * sysdeps/unix/sysv/linux/i386/paccept.S: New file. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and EPOLL_NONBLOCK. Declare epoll_create2. * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and EFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and IN_NONBLOCK. Declare inotify_init1. * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and SFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and TFD_NONBLOCK.
2008-05-11* io/openat.c (__openat_2): Also pass fd to __openat.Ulrich Drepper2-2/+2
* io/openat64.c (__openat64_2): Also pass fd to __openat64. Patch by Kristian Van Der Vliet <vanders@liqwyd.com>.