about summary refs log tree commit diff
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* Remove pre-ISO C supportUlrich Drepper2012-01-0715-89/+86
| | | | No more __const.
* Mark fortified __FD_ELT as extensionAndreas Schwab2011-12-021-1/+2
|
* Clean up internal fopen usesUlrich Drepper2011-11-154-7/+7
| | | | No need to ever not use c and e.
* Mark setjmp and ucontext functions as non-leafAndreas Schwab2011-11-111-0/+4
|
* Don't mark memory synchronisation functions as leafAndreas Schwab2011-10-271-1/+6
|
* Fix syntax error in __THROW macroAndreas Schwab2011-10-171-2/+2
|
* Use leaf function attribute in __THROWUlrich Drepper2011-10-161-3/+12
|
* Avoid macro clash between <sys/select.h> and <linux/posix_types.h>Andreas Schwab2011-09-132-7/+5
|
* Cleanup of configuration optionsUlrich Drepper2011-09-103-21/+9
| | | | Make several tool features mandatory and simplify the code.
* Add range checking for FD_SET, FD_CLR, and FD_ISSETUlrich Drepper2011-09-083-2/+43
|
* Add const attr to gnu_dev_{major,minor,makedev}Marek Polacek2011-07-201-1/+8
|
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-101-2/+2
|
* Fix reporting of invalid timeouts in emulated pselectUlrich Drepper2011-05-161-2/+12
|
* Fix test for error_one_per_line mode in errorUlrich Drepper2011-05-161-2/+4
|
* Report write error in addmnt even for cached streams.Ulrich Drepper2011-05-111-3/+3
|
* Remove doubled words.Jim Meyering2011-04-224-8/+8
|
* Add syncfs syscall.Andreas Schwab2011-04-013-2/+38
|
* Fix handling if newline in addmntent.Ulrich Drepper2010-05-021-3/+3
|
* Fix endless loop with invalid /etc/shells file.Ulrich Drepper2010-02-031-2/+2
|
* Remove unnecessary returns.Ulrich Drepper2010-01-191-3/+3
|
* Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek2009-11-061-2/+2
| | | | | | | | As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just found, fallocate is wrong too. The problem is that only off_t is remapped to the 64-bit type transparently, __off_t is not.
* Implement mkostemps and mkostemps64.Ulrich Drepper2009-10-304-2/+87
|
* Implement mkstemps and mkstemps64.Ulrich Drepper2009-10-3010-13/+99
|
* Fix warnings when using <sys/select.h>.Ulrich Drepper2009-06-141-2/+2
| | | | | gcc 4.4 is more picky. And the x86-64 version of <bits/select.h> contained a now unnecessary asm optimization. Remove it.
* Remove redundant .gitignore files.Andreas Schwab2009-05-161-6/+0
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* [BZ #10100]Ulrich Drepper2009-04-241-0/+2
| | | | | | | 2009-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #10100] * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is not zero.
* * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper2009-04-235-8/+8
| | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. 2009-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy data from vector to temporary buffer and call PWRITEV after it instead of vice versa. * sysdeps/posix/preadv.c: Fix up comment. * misc/preadv.c: Likewise. * misc/preadv64.c: Likewise. * misc/pwritev.c: Likewise. * misc/pwritev64.c: Likewise. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
* * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper2009-04-037-8/+244
| | | | | | | | | | | | | | | | | | | | | | * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for GLIBC_2.10. * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv and pwritev. * misc/preadv.c: New file. * misc/preadv64.c: New file. * misc/pwritev.c: New file. * misc/pwritev64.c: New file. * sysdeps/posx/preadv.c: New file. * sysdeps/posx/preadv64.c: New file. * sysdeps/posx/pwritev.c: New file. * sysdeps/posx/pwritev64.c: New file. * sysdeps/unix/sysv/linux/preadv.c: New file. * sysdeps/unix/sysv/linux/preadv64.c: New file. * sysdeps/unix/sysv/linux/pwritev.c: New file. * sysdeps/unix/sysv/linux/pwritev64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
* * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ Jakub Jelinek2009-03-021-2/+7
| | | | | | | | attribute also for non-C99 inline semantics variant. 2009-03-02 Richard Guenther <rguenther@suse.de> * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ attribute also for non-C99 inline semantics variant.
* * malloc/malloc.c (sYSMALLOc): Don't use assert when detectingUlrich Drepper2009-01-301-3/+7
| | | | | | manipulated brk, use malloc_printerr. * misc/sbrk.c (__sbrk): Better error handling for nonsense requests.
* ..Ulrich Drepper2009-01-232-2/+33
| | | | | | | | | | | 2009-01-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. * misc/hsearch_r.c (hcreate_r): We need at least three elements in the hash table. * misc/Makefile (tests): Add bug-hsearch1. * misc/bug-hsearch1.c: New file.
* (hcreate_r): We need at least three elements in the hash table.Ulrich Drepper2009-01-231-1/+5
|
* [BZ #6966]Ulrich Drepper2008-11-011-11/+6
| | | | | | 2008-11-01 Ulrich Drepper <drepper@redhat.com> [BZ #6966] * misc/hsearch_r.c (hsearch_r): Fix secondary hash function.
* * misc/syslog.c (openlog_internal): Fix __have_sock_cloexecUlrich Drepper2008-10-221-3/+4
| | | | initialization.
* (openlog_internal): Fix compile problem.Ulrich Drepper2008-07-301-1/+1
|
* * misc/syslog.c (openlog_internal): Use SOCK_CLOEXEC if possible.Ulrich Drepper2008-07-261-3/+28
|
* * misc/regexp.h (compile): Use __REPB_PREFIX macro. Jakub Jelinek2008-06-061-5/+11
| | | | | | | | Avoid segfault if first GETC returns eof/'\0'/'\n'. 2008-06-05 Jakub Jelinek <jakub@redhat.com> * misc/regexp.h (compile): Use __REPB_PREFIX macro. Avoid segfault if first GETC returns eof/'\0'/'\n'.
* Remove useless more "if" tests before "free".Ulrich Drepper2008-05-271-3/+3
| | | | | | | | | * 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.
* * misc/truncate64.c (truncate64): Use __truncate not truncate.Ulrich Drepper2008-05-101-1/+1
|
* [BZ #5779]Ulrich Drepper2008-03-051-0/+17
| | | | | * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions. Patch by Roy Marples <roy@marples.name>.
* * misc/Makefile (headers): Add bits/error.h.Jakub Jelinek2007-10-121-1/+1
| | | | | | 2007-10-12 Jakub Jelinek <jakub@redhat.com> * misc/Makefile (headers): Add bits/error.h.
* * misc/error.h: Use __const instead of const.Ulrich Drepper2007-10-072-11/+13
| | | | | | | | | | * misc/bits/error.h: Likewise. 2007-10-07 Andreas Jaeger <aj@suse.de> * include/bits/error.h: New file. * misc/bits/error.h (error_at_line): Fix prototype.
* * misc/error.h: Remove support for use outside of libc. We have toUlrich Drepper2007-10-042-19/+10
| | | | | include <features.h> now. Include <bits/error.h> if possible. * misc/bits/error.h: New file.
* Specializations of error functions.Ulrich Drepper2007-10-041-0/+72
|
* * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros.Ulrich Drepper2007-10-031-0/+9
| | | | | * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH.
* 2007-10-03 Jakub JelinekUlrich Drepper2007-10-031-1/+6
| | | | | * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ add __artificial__ attribute.
* * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ defineUlrich Drepper2007-09-261-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with __warning__/__error__ attributes. (__warnattr): Define. * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn, __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with __warnattr. (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead of __*_chk if compile time detectable overflow is found. * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn, __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases with __warnattr. (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn instead of __*_chk if compile time detectable overflow is found. (__gets_alias): Rename to... (__gets_warn): ... this. Add __warnattr. (gets): Call __gets_warn instead of __gets_alias. * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New aliases with __warnattr. (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile time detectable overflow is found. * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn, __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn, __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn, __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn, __getdomainname_chk_warn): New aliases with __warnattr. (read, pread, pread64, readlink, readlinkat, getcwd, confstr, getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call __*_chk_warn instead of __*_chk if compile time detectable overflow is found. (__getgroups_chk): Rename argument to __listlen from listlen. (__getwd_alias): Rename to... (__getwd_warn): ... this. Add __warnattr. (getwd): Call __getwd_warn instead of __getwd_alias. * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn, __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn, __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn, __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn, __wcsnrtombs_chk_warn): New aliases with __warnattr. (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if compile time detectable overflow is found. (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether to use __*_chk or not. (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both in comparisons which function should be called and in __*_chk* arguments. Call __*_chk_warn instead of __*_chk if compile time detectable overflow is found. (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in __*_chk argument. * debug/tst-chk1.c (do_test): Add a few more tests.
* * misc/bits/syslog.h (syslog): Remove extraneous argument from Jakub Jelinek2007-09-181-2/+2
| | | | | | | | | | the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to __syslog_chk. 2007-09-19 Jakub Jelinek <jakub@redhat.com> * misc/bits/syslog.h (syslog): Remove extraneous argument from the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to __syslog_chk.
* Undo second occurrence of RH GCC hack.Jakub Jelinek2007-09-161-4/+1
|