aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-08-30Update.Ulrich Drepper2-0/+2
* misc/Makefile (CFLAGS-error.c): Define.
2003-08-30Update.Ulrich Drepper3-8/+39
2003-08-30 Ulrich Drepper <drepper@redhat.com> * misc/error.c (error): Disable cancellation handling around the actual output. The message should in any case be printed. (error_at_line): Likewise. * misc/error.h: Protect parameter names with leading __.
2003-08-30Update.Ulrich Drepper4-20/+47
2003-08-28 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop. 2003-08-29 Jakub Jelinek <jakub@redhat.com> * libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the end. 2003-08-29 Ulrich Drepper <drepper@redhat.com> * libio/stdio.h: Remove a few more __THROW. * libio/iofputs.c (_IO_fputs): Likewise. * libio/iofputws.c (fputws): Likewise.
2003-08-29Update.Ulrich Drepper55-254/+313
2003-08-29 Jakub Jelinek <jakub@redhat.com> * libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c, fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c, getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c, iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c, iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c, iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c, ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c, oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c, oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c, putwchar.c and rewind.c with exceptions. * sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock, _IO_release_lock): Define. * libio/fileops.c (_IO_new_file_underflow): Use it. * libio/fputc.c (fputc): Likewise. * libio/fputwc.c (fputwc): Likewise. * libio/freopen64.c (freopen64): * libio/freopen.c (freopen): Likewise. * libio/fseek.c (fseek): Likewise. * libio/fseeko64.c (fseeko64): Likewise. * libio/fseeko.c (fseeko): Likewise. * libio/ftello64.c (ftello64): Likewise. * libio/ftello.c (ftello): Likewise. * libio/fwide.c (fwide): Likewise. * libio/getc.c (_IO_getc): Likewise. * libio/getchar.c (getchar): Likewise. * libio/getwc.c (_IO_getwc): Likewise. * libio/getwchar.c (getwchar): Likewise. * libio/iofclose.c (_IO_new_fclose): * libio/iofflush.c (_IO_fflush): Likewise. * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. * libio/iofgets.c (_IO_fgets): Likewise. * libio/iofgetws.c (fgetws): Likewise. * libio/iofputs.c (_IO_fputs): * libio/iofputws.c (_IO_fputs): Likewise. * libio/iofread.c (_IO_fread): Likewise. * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise. * libio/iofsetpos.c (_IO_new_fsetpos): Likewise. * libio/ioftell.c (_IO_ftell): Likewise. * libio/iofwrite.c (_IO_fwrite): Likewise. * libio/iogetdelim.c (_IO_getdelim): Likewise. * libio/iogets.c (_IO_gets): Likewise. * libio/ioputs.c (_IO_puts): Likewise. * libio/ioseekoff.c (_IO_seekoff): Likewise. * libio/ioseekpos.c (_IO_seekpos): Likewise. * libio/iosetbuffer.c (_IO_setbuffer): Likewise. * libio/iosetvbuf.c (_IO_setvbuf): Likewise. * libio/ioungetc.c (_IO_ungetc): Likewise. * libio/ioungetwc.c (ungetwc): Likewise. * libio/oldiofclose.c (_IO_old_fclose): Likewise. * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise. * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise. * libio/peekc.c (_IO_peekc_locked): Likewise. * libio/putc.c (_IO_putc): Likewise. * libio/putchar.c (putchar): Likewise. * libio/putwc.c (putwc): Likewise. * libio/putwchar.c (putwchar): Likewise. * libio/rewind.c (rewind): Likewise. * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2003-08-29Update.Ulrich Drepper1-0/+5
2003-08-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock, _IO_release_lock): Define.
2003-08-29Update.Ulrich Drepper1-1/+6
2003-08-29 Ulrich Drepper <drepper@redhat.com> * signal/signal.h: sighold, sigrelse, sigignore, sigset were available in XPG4.2. 2003-08-27 Phil Knirsch <pknirsch@redhat.com>
2003-08-29sighold, sigrelse, sigignore, sigset were available in XPG4.2.Ulrich Drepper1-1/+1
2003-08-29* tst-cancel.c (tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): AddJakub Jelinek1-0/+5
sigemptyset before sigaddset. Reported by jreiser@BitWagon.com.
2003-08-29(tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add sigemptyset before ↵Jakub Jelinek1-0/+3
sigaddset. Reported by jreiser@BitWagon.com.
2003-08-29Update.Ulrich Drepper2-4/+12
2003-08-27 Phil Knirsch <pknirsch@redhat.com> Jakub Jelinek <jakub@redhat.com> * sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit big endian arches. Don't read beyond end of fds_bits array.
2003-08-29Update.Ulrich Drepper2-9/+51
2003-04-27 Bruno Haible <bruno@clisp.org> * manual/message.texi (Advanced gettext functions): Add information about Korean, Portuguese, Latvian. Gaeilge is also known as Irish. Add section about Lithuanian, reported by Ricardas Cepas <rch@richard.eu.org>. Add information about Croatian. Ukrainian is like Russian, reported by Andy Rysin <arysin@yahoo.com>. Remove remark about continuation lines that is not true for PO files. Fix formula for Slovenian, reported by Roman Maurer <roman.maurer@amis.net>.
2003-08-28Update.Ulrich Drepper3-3/+10
* math/math_private.h: Declare __copysignf. * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of copysignf.
2003-08-28Update.Ulrich Drepper5-12/+45
2003-08-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf, __signbit, and __signbitl inline functions. * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit(). * sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp. * sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp.
2003-08-27Update.Ulrich Drepper2-7/+11
2003-08-27 Jakub Jelinek <jakub@redhat.com> * inet/inet_mkadr.c (inet_makeaddr): Optimize.
2003-08-27Update.Ulrich Drepper4-5/+26
2003-08-27 Ulrich Drepper <drepper@redhat.com> * include/stdio.h: Add declarations for __builtin_fwrite and __builtin_fwrite_unlocked.
2003-08-27Update.Ulrich Drepper2-7/+15
2003-08-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h (pthread_exit): Remove __THROW. (__pthread_cleanup_class): Add missing return types of member functions.
2003-08-27Update.Ulrich Drepper2-5/+15
2003-08-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64 fits into allocation. Add padding on 32-bit arches so that dirp->data is enough aligned for struct dirent64. Avoid clearing of the buffer, just clear DIR structure.
2003-08-27Update.Ulrich Drepper3-0/+7
2003-08-26 Ulrich Drepper <drepper@redhat.com> * nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function. * nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function.
2003-08-27Update.Ulrich Drepper2-0/+15
2003-08-26 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/elf/Makefile: New file.
2003-08-27Update.Ulrich Drepper4-9/+20
* login/programs/utmpdump.c (print_entry): Cast tv_usec to long to match format string. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add __old_buf. (__new_semctl): Shut up warning. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_string_hwcap): Add __attribute__ ((always_inline)). 2003-08-26 Jakub Jelinek <jakub@redhat.com>
2003-08-26Update.Ulrich Drepper2-0/+7
2003-08-26 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (lll_mutex_unlock_force): Add memory barrier between store and futex syscall.
2003-08-26Update.Ulrich Drepper3-6/+13
2003-08-26 Jakub Jelinek <jakub@redhat.com> * elf/ldconfig.c (search_dir): When checking for GNU-style .so link file use the real file name, not the resolved name we got by following the symlinks.
2003-08-25Update.Ulrich Drepper2-1/+15
2003-08-25 Ulrich Drepper <drepper@redhat.com> * libio/oldfileops.c (_IO_old_file_init): Initialize _mode field if the object size is large enough.
2003-08-25Update.Ulrich Drepper2-4/+26
2003-08-25 Jakub Jelinek <jakub@redhat.com> * elf/ldconfig.c (search_dir): Treat symlink as regular file if it won't point to itself unless it is .so symlink for the linker.
2003-08-25Update.Ulrich Drepper3-10/+15
2003-08-25 Ulrich Drepper <drepper@redhat.com> * libio/libio.h (_IO_fwide): In the mode==0 optimization, don't use _mode if _IO_fwide_maybe_incompatible. * libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after the compatibility test.
2003-08-25Update.Ulrich Drepper3-6/+9
2003-08-25 Jakub Jelinek <jakub@redhat.com> * elf/cache.c (save_cache): Don't write beyond end of file_entries buffer. Duplicate last old cache entry if the count would be odd.
2003-08-25(_IO_seekoff_unlocked): Add glibc 2.0 compatibility in wide stream test.Ulrich Drepper1-1/+6
2003-08-25* sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of Andreas Jaeger2-3/+8
__LONG_LONG_PAIR to long. 2003-08-25 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of __LONG_LONG_PAIR to long.
2003-08-25(save_cache): Don't write beyond end of file_entries buffer. Duplicate last ↵Ulrich Drepper3-6/+18
old cache entry if the count would be odd.
2003-08-25Update.Ulrich Drepper2-0/+19
2003-08-25 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define. (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
2003-08-25Update.Ulrich Drepper2-2/+16
2003-08-25 Ulrich Drepper <drepper@redhat.com> * tst-cancel4.c (do_test): Also unlink tempfname and remove tempmsg in first loop.
2003-08-25Update.Ulrich Drepper5-4/+20
2003-08-18 Alfred M. Szmidt <ams@kemisten.nu> * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine and use __libc_cleanup_region_end instead.
2003-08-25Update.Ulrich Drepper5-22/+24
2003-08-25 Ulrich Drepper <drepper@redhat.com> * elf/ldconfig.c (search_dir): Revert patch of 2003-7-21.
2003-08-22Update.Ulrich Drepper10-18/+51
2003-08-22 Ulrich Drepper <drepper@redhat.com> * io/fcntl.h (posix_fallocate): Change type of third parameter to off_t. (posix_fallocate64): Change type of third parameter to off64_t. * sysdeps/generic/posix_fallocate.c: Adjust for type change. * sysdeps/posix/posix_fallocate.c: Likewise. * sysdeps/generic/posix_fallocate64.c: Likewise. * sysdeps/posix/posix_fallocate64.c: Likewise. Add compatibility code for 32-bit platforms. * sysdeps/unix/sysv/linux/i386/Versions: Add new version for posix_fallocate64. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2003-08-20Update.Ulrich Drepper2-2/+5
* string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to the type, not to name.
2003-08-19Update.Ulrich Drepper3-5/+14
* stdio-common/test-vfprintf.c (main): Don't write temporary file into source directory.
2003-08-19Update.Ulrich Drepper2-0/+10
* malloc/malloc.c (_int_free): Add cheap test for some invalid block sizes.
2003-08-19Update.Ulrich Drepper2-1/+6
2003-08-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in syscall name.
2003-08-19Update.Ulrich Drepper3-1/+17
2003-08-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error into EINVAL.
2003-08-19Define _POSIX_THREAD_PRIORITY_SCHEDULING.Ulrich Drepper2-0/+6
2003-08-18* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.Roland McGrath1-0/+5
(elf_machine_lazy_rel): Likewise.
2003-08-182003-08-18 H.J. Lu <hongjiu.lu@intel.com>Roland McGrath1-3/+3
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type. (elf_machine_lazy_rel): Likewise.
2003-08-18Update.Ulrich Drepper2-1/+6
2003-08-18 Art Haas <ahaas@airmail.net> * malloc/malloc.h: Remove unneeded ';' where closing the C++ extern block.
2003-08-18Update.Ulrich Drepper1-0/+6
2003-08-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/ia64/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Support loading big binaries where @gprel(sym) cannot be handled in 'add' but instead has to be used with 'movl'.
2003-08-18(ELF_MACHINE_LOAD_ADDRESS): Support loading big binaries where @gprel(sym) ↵Ulrich Drepper1-4/+4
cannot be handled in 'add' but instead has to be used with 'movl'.
2003-08-17Update.Andreas Jaeger1-0/+2
2003-08-17 Andreas Jaeger <aj@suse.de>
2003-08-17Update.Andreas Jaeger2-1/+137
2003-08-17 Juergen Kreileder <jk@blackdown.de> Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/bits/byteswap.h: New file.
2003-08-17Fix typo.Andreas Jaeger2-1/+5
2003-08-17 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo.
2003-08-17Update.Ulrich Drepper26-45/+336
2003-08-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. * sysdeps/unix/alpha/sysdep.h (PSEUDO_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. * sysdeps/unix/mips/sysdep.h (PSEUDO_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define. * sysdeps/unix/sparc/sysdep.h (PSEUDO_ERRVAL, ret_ERRVAL): Define. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_ERRVAL, PSEUDO_END_ERRVAL, ret_ERRVAL): Define. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO_ERRVAL, PSEUDO_END_ERRVAL, ret_ERRVAL): Define. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO_ERRVAL): Define. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_ERRVAL, PSEUDO_END_ERRVAL, ret_ERRVAL): Define. * sysdeps/unix/sysdep.h (PSEUDO_END_ERRVAL): Define. * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64, posix_fadvise64_64): Remove. * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Add V flag. * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (posix_fadvise64): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (posix_fadvise64): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (posix_fadvise64): Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64): Likewise. * sysdeps/unix/sysv/linux/i386/posix_fadvise64_64.S: Moved to... * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: ...here. (__posix_fadvise64_l64): Fix a typo in fadvise64 syscall invocation. (__posix_fadvise64_l32): New function. * sysdeps/unix/sysv/linux/i386/Makefile: Revert last change. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Export posix_fadvise64@@GLIBC_2.3.3. * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Return error value. * sysdeps/unix/sysv/linux/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (SYSCALL_ERROR_HANDLER): Use TLS errno/__libc_errno if USE___THREAD. 2003-08-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Remove. (elf_machine_matches_host): Remove weak extern stuff. Use GL(dl_hwcap) unconditionally and GL(dl_hwcap_mask) if SHARED. (elf_machine_runtime_setup, sparc_fixup_plt): Remove weak extern stuff. Use GL(dl_hwcap) unconditionally.
2003-08-16Update.Ulrich Drepper1-0/+5
2003-08-16 Alan Modra <amodra@bigpond.net.au> * sysdeps/powerpc/powerpc64/elf/start.S: Add a nop after __libc_start_main branch.