aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-09-03For _LIBC, call not cancelable versions of open, close, and read.Ulrich Drepper
2003-09-02New test.Jakub Jelinek
2003-09-02Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h (DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.
2003-09-02(DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.Ulrich Drepper
2003-09-02* sysdeps/unix/sysv/linux/x86_64/not-cancel.h: Fix a typo.Jakub Jelinek
2003-09-02Fix a typo.Jakub Jelinek
2003-09-02(parse_tilde): Fix use of extend_alloca.Ulrich Drepper
2003-09-02Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define *_nocancel name. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid. (CFLAGS-pathconf.c): Likewise. (CFLAGS-fpathconf.c): Likewise.
2003-09-02Fix typo.Ulrich Drepper
* sysdeps/unix/sysv/linux/x86_64/not-cancel.h: New file.
2003-09-02Update.Ulrich Drepper
2003-09-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/not-cancel.h: New file. * sysdeps/unix/sysv/linux/x86-64/not-cancel.h: New file. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Make sure the code in subsections has a symbol associated with it. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Also defined symbol for entry point to avoid cancellation. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Likewise.
2003-09-02Update.Ulrich Drepper
2003-09-02 Ulrich Drepper <drepper@redhat.com> * libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions. * sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove. * libio/oldtmpfile.c (__old_tmpfile): Likewise. * misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions. * io/Makefile (CFLAGS-statfs.c): Add -fexceptions. (CFLAGS-fstatfs.c): Likewise. (CFLAGS-statvfs.c): Likewise. (CFLAGS-fstatvfs.c): Likewise. 2003-09-01 Ulrich Drepper <drepper@redhat.com> * misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions. * posix/unistd.h: Remove __THROW from pathconf, fpathconf, sysconf. * posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions. * misc/Makefile (CFLAGS-fstab.c): Add -fexceptions. * misc/fstab.h: Remove all __THROW. * misc/Makefile (CFLAGS-mntent.c): Add -fexceptions. (CFLAGS-mntent_r.c): Likewise. * misc/mntent.h: Remove most __THROW. * misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. (CFLAGS-mkstemp64.c): Likewise. * sysdeps/generic/wordexp.c (parse_comm): Disable cancellation around call to exec_comm. * posix/wordexp.h: Remove __THROW from wordexp. * posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions. * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use not-cancelable functions. * libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions. (CFLAGS-iofopen.c): Likewise. (CFLAGS-iofopen64.c): Likewise. * stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output functions. * stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions. * stdlib/fmtmsg.h: Remove __THROW from fmtmsg. * stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt. * login/Makefile (CFLAGS-getpt.c): Add -fexceptions.
2003-09-02(pthread_barrierattr_setpshared): We don't handle inter-process barriers.Ulrich Drepper
2003-09-02Fix formatting.Andreas Jaeger
2003-09-02(CFLAGS-oldtmpfile.c): Add -fexceptions.Ulrich Drepper
2003-09-02Update.Ulrich Drepper
2003-09-01 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return NSS_STATUS_SUCCESS if entry was found. (getspent_next_file): Store user in blacklist after entry was found, use innetgr. 2003-09-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for DTV_AT_TP, optimize.
2003-09-02Update.Ulrich Drepper
2003-09-01 Jakub Jelinek <jakub@redhat.com> * Makefile (tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes. ($(objpfx)tst-tls1): New. ($(objpfx)tst-tls2.out): Likewise. (tests): Depend on $(objpfx)tst-tls2.out. * tst-tls1.c: New test. * tst-tls1.h: New. * tst-tls1mod.c: New. * tst-tls1moda.c: New. * tst-tls1modb.c: New. * tst-tls1modc.c: New. * tst-tls1modd.c: New. * tst-tls1mode.c: New. * tst-tls1modf.c: New. * tst-tls2.sh: New test.
2003-09-02(tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ↵Ulrich Drepper
($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes. ($(objpfx)tst-tls1): New. ($(objpfx)tst-tls2.out): Likewise. (tests): Depend on $(objpfx)tst-tls2.out.
2003-09-01* sysdeps/unix/sysv/linux/alpha/timer_create.c: New file.Jakub Jelinek
* sysdeps/unix/sysv/linux/alpha/timer_delete.c: New file. * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: New file. * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: New file. * sysdeps/unix/sysv/linux/alpha/timer_settime.c: New file. * sysdeps/unix/sysv/linux/alpha/Versions: New file. * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: New file.
2003-09-01* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: DefineJakub Jelinek
_POSIX_THREAD_PRIORITY_SCHEDULING. * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Likewise.
2003-09-01Define _POSIX_THREAD_PRIORITY_SCHEDULING.Jakub Jelinek
2003-09-01Update.Ulrich Drepper
2003-08-31 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3. * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define. (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
2003-08-31Update.Ulrich Drepper
* libio/libioP.h (_IO_acquire_lock_fct): Define as inline function.
2003-08-31Update.Ulrich Drepper
2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_ functions.
2003-08-31Update.Ulrich Drepper
2003-08-31 Ulrich Drepper <drepper@redhat.com> * libio/libio.h (_IO_acquire_lock_fct): Define as inline function. Code by Richard Henderson.
2003-08-31Update.Ulrich Drepper
2003-08-31 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/Versions: Add posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3.
2003-08-31Update.Ulrich Drepper
2003-08-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET. * include/setjmp.h: Add libc_hidden_proto for __sigsetjmp. (CFLAGS-clnt_perr.c): Likewise.
2003-08-31Update.Ulrich Drepper
2003-08-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be included multiple times. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass ptid, tls, ctid arguments to the kernel. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): Use INTERNAL_SYSCALL instead of __syscall_getpagesize. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__libc_sigaction): Use INLINE_SYSCALL instead of __syscall_rt_sigaction. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (__syscall_getgroups, __syscall_getpagesize, __syscall__llseek, __syscall_setfsgid, __syscall_setfsuid, __syscall_setgid, __syscall_setgroups, __syscall_setregid, __syscall_setreuid, __syscall_ipc, __syscall_setuid, __syscall_rt_sigaction, __syscall_rt_sigpending, __syscall_rt_sigprocmask, __syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend, __syscall_rt_sigtimedwait): Remove unneeded syscall stubs. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo, rt_sigaction and rt_sigpending. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (__CLONE_SYSCALL_STRING): Define. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add CFI directives. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (__CLONE_SYSCALL_STRING): Define. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL): Define. * sysdeps/unix/sysv/linux/sparc/system.c: New file. * sunrpc/rpc/clnt.h: Remove a few __THROW. * sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions. (CFLAGS-key_call.c): Likewise. (CFLAGS-pmap_rmt.c): Likewise. * sunrpc/rpc/auth.h: Remove serveral __THROW. (CFLAGS-rcmd.c): Likewise.
2003-08-30Update.Ulrich Drepper
* inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions. (CFLAGS-gethstbynm_r.c): Likewise. (CFLAGS-gethstbynm2_r.c): Likewise. * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions.
2003-08-30Update.Ulrich Drepper
* argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions. (CFLAGS-argp-fmtstream.c): Likewise. * argp/argp.h: Remove a number of __THROW.
2003-08-30Update.Ulrich Drepper
* misc/sys/syslog.h (vsyslog): Remove __THROW. * posix/unistd.h: Remove __THROW from getpass prototype.
2003-08-30Update.Ulrich Drepper
* misc/Makefile (CFLAGS-getpass.c): Add -fexceptions. * misc/getpass.c (getpass): Add cleanup handler to ensure the stream is closed even if the thread is canceled. (call_fclose): New function. * posix/unistd.h: Remove __THROW from getpass prorotype. * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions. * signal/signal.h (psignal): Remove __THROW. * stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions.
2003-08-30Update.Ulrich Drepper
* misc/Makefile (CFLAGS-error.c): Define.
2003-08-30Update.Ulrich Drepper
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 Drepper
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 Drepper
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 Drepper
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 Drepper
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 Drepper
2003-08-29* tst-cancel.c (tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): AddJakub Jelinek
sigemptyset before sigaddset. Reported by jreiser@BitWagon.com.
2003-08-29(tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add sigemptyset before ↵Jakub Jelinek
sigaddset. Reported by jreiser@BitWagon.com.
2003-08-29Update.Ulrich Drepper
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 Drepper
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 Drepper
* math/math_private.h: Declare __copysignf. * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of copysignf.
2003-08-28Update.Ulrich Drepper
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 Drepper
2003-08-27 Jakub Jelinek <jakub@redhat.com> * inet/inet_mkadr.c (inet_makeaddr): Optimize.
2003-08-27Update.Ulrich Drepper
2003-08-27 Ulrich Drepper <drepper@redhat.com> * include/stdio.h: Add declarations for __builtin_fwrite and __builtin_fwrite_unlocked.
2003-08-27Update.Ulrich Drepper
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 Drepper
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 Drepper
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 Drepper
2003-08-26 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/elf/Makefile: New file.