Ulrich Drepper
9333ed0d58
* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
...
ENOTRECOVERABLE if not already defined.
2005-12-24 20:07:27 +00:00
Ulrich Drepper
dcc73a8dda
* pthread_mutex_destroy.c: Set mutex type to an invalid value.
...
* pthread_mutex_lock.c: Return EINVAL for invalid mutex type.
* pthread_mutex_trylock.c: Likewise.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_unlock.c: Likewise.
2005-12-23 23:49:41 +00:00
Ulrich Drepper
9256e5794f
[BZ #1566 ]
...
2005-12-23 Ulrich Drepper <drepper@redhat.com>
[BZ #1566 ]
* sysdeps/i386/i586/memusage.h: New file.
* sysdeps/i386/memusage.h: Don't define GETTIME.
2005-12-23 15:29:25 +00:00
Ulrich Drepper
0a9a2b33e6
i586 definitions for memusage.
2005-12-23 15:26:46 +00:00
Roland McGrath
879f3ca686
* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,
...
so that #include_next's search location is not reset to the -I..
directory where <nptl/...> can be found.
2005-12-23 05:09:31 +00:00
Roland McGrath
5d7e543016
2005-12-22 Roland McGrath <roland@redhat.com>
...
* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,
so that #include_next's search location is not reset to the -I..
directory where <nptl/...> can be found.
2005-12-23 05:09:01 +00:00
Ulrich Drepper
7ab7969c70
[BZ #1499 ]
...
* misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr.
(openlog_internal): Adjust for this change.
2005-12-23 04:38:20 +00:00
Ulrich Drepper
7735afa212
* Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which
...
are not understood by the C++ compiler.
* Makerules: Add rules to build C++ code for test cases.
* include/stdlib.h: Protect for inclusion in C++ code.
* include/time.h: Likewise.
* test-skeleton.c (timeout_handler): Rewrite ts initialization for
C++ compatibility.
2005-12-23 01:55:26 +00:00
Ulrich Drepper
331926097f
(timeout_handler): Rewrite ts initialization for C++.
2005-12-23 01:03:28 +00:00
Roland McGrath
35f166df44
* Makerules [gen-as-const-headers] (tests): Add one test per .sym
...
file, not just one.
($(objpfx)test-as-const.c): Target replaced with ...
($(objpfx)test-as-const-%.c): ... this pattern rule.
(generated): Add those files.
2005-12-22 23:40:22 +00:00
Roland McGrath
ba389ce307
2005-12-22 Roland McGrath <roland@redhat.com>
...
* Makerules [gen-as-const-headers] (tests): Add one test per .sym
file, not just one.
($(objpfx)test-as-const.c): Target replaced with ...
($(objpfx)test-as-const-%.c): ... this pattern rule.
(generated): Add those files.
2005-12-22 23:38:16 +00:00
Ulrich Drepper
077a0da7dc
* sysdeps/x86_64/__longjmp.S: Also protect SP and BP.
...
* sysdeps/x86_64/setjmp.S: Likewise.
2005-12-22 18:21:44 +00:00
Ulrich Drepper
c67da0b50e
Also protect SP and BP.
2005-12-22 17:44:18 +00:00
Roland McGrath
0efe424f4f
Typo fix.
2005-12-22 11:31:24 +00:00
Roland McGrath
0c7c6d531f
* sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.
...
* sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]:
(gen-as-const-headers): Add it.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
* sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
* stdlib/tst-ucontext-off.c: File removed.
* stdlib/Makefile (tests): Remove it.
* scripts/gen-as-const.awk: Support generating a test program.
* Makerules [gen-as-const-headers] (tests): Add test-as-const.
[gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
2005-12-22 05:18:34 +00:00
Roland McGrath
c72565e5f1
2005-12-21 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/bits: Subdirectory and all files moved to ...
* bits: ... here, new subdirectory.
* Makeconfig (+includes): Reordered includes to put build and sysdeps
dirs first after $(..)include, $(sysincludes) last.
* sysdeps/generic/bits: Subdirectory and all files moved to ...
* bits: ... here, new subdirectory.
* Makeconfig (+includes): Reordered includes to put build and sysdeps
dirs first after $(..)include, $(sysincludes) last.
2005-12-22 03:12:10 +00:00
Roland McGrath
c6813ffea9
[BZ #2066 ]
...
2005-12-21 Roland McGrath <roland@redhat.com>
[BZ #2066 ]
* intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later
malloc fails.
2005-12-22 01:03:50 +00:00
Roland McGrath
8002dfb87a
* sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
2005-12-22 00:56:10 +00:00
Roland McGrath
8dea90aab0
* sysdeps/mach/hurd/ifreq.c: Add missing #includes.
2005-12-21 22:54:00 +00:00
Roland McGrath
8f480b4bc2
* elf/cache.c: Use <> rather than "" #includes.
...
* elf/chroot_canon.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/ldconfig.c: Likewise.
* elf/readlib.c: Likewise.
* elf/rtld.c: Likewise.
* gmon/mcount.c: Likewise.
* hurd/hurdfault.c: Likewise.
* hurd/hurdsig.c: Likewise.
* hurd/report-wait.c: Likewise.
* hurd/sigunwind.c: Likewise.
* mach/setup-thread.c: Likewise.
* rt/aio_read64.c: Likewise.
* rt/aio_sigqueue.c: Likewise.
* rt/aio_write64.c: Likewise.
* soft-fp/soft-fp.h: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
* sysdeps/mach/hurd/i386/trampoline.c: Likewise.
* sysdeps/mach/hurd/mips/trampoline.c: Likewise.
* sysdeps/mach/hurd/powerpc/trampoline.c: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/pthread/aio_cancel.c: Likewise.
* sysdeps/pthread/aio_fsync.c: Likewise.
* sysdeps/pthread/aio_read64.c: Likewise.
* sysdeps/pthread/aio_read.c: Likewise.
* sysdeps/pthread/aio_suspend.c: Likewise.
* sysdeps/pthread/aio_write64.c: Likewise.
* sysdeps/pthread/aio_write.c: Likewise.
* sysdeps/pthread/lio_listio64.c: Likewise.
* sysdeps/pthread/lio_listio.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/tcflow.c: Likewise.
2005-12-21 22:16:34 +00:00
Roland McGrath
e8ebf3f2dc
* sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
...
* elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
2005-12-21 21:36:24 +00:00
Roland McGrath
934b22a4f6
* csu/dso_handle.c (__dso_handle): Add const to pointer type too.
2005-12-21 21:21:50 +00:00
Roland McGrath
7289d08b95
2005-12-21 Roland McGrath <roland@redhat.com>
...
* csu/dso_handle.c (__dso_handle): Add const to pointer type too.
2005-12-21 21:21:43 +00:00
Ulrich Drepper
4c038b68b5
* iconv/gconv_conf.c: Initialize empty_path_elem.
2005-12-21 19:33:05 +00:00
Ulrich Drepper
403a632578
* sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
...
* sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
* sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
up in .rodata.
* sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100
end up in .rodata.
* sysdeps/ieee754/flt-32/e_expf.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000
end up in .rodata.
2005-12-21 19:12:22 +00:00
Ulrich Drepper
2fdaad97be
* elf/readlib.c: Fix include of readelflib.c.
2005-12-21 15:31:50 +00:00
Ulrich Drepper
f9b2d293f0
[BZ #1962 ]
...
* io/fts.c (fts_open): Change type of len to size_t.
(fts_build): Remove cast in call to fts_alloc.
(fts_alloc): Change third parameter's type to size_t.
2005-12-21 08:34:35 +00:00
Ulrich Drepper
87629a1c50
[BZ #1960 ]
...
2005-12-21 Ulrich Drepper <drepper@redhat.com>
[BZ #1960 ]
* io/fts.c (fts_open): Avoid function call in MAX macro use.
2005-12-21 08:24:13 +00:00
Ulrich Drepper
4b5b009cc3
* locale/xlocale.c (_nl_C_locobj): Mark as const.
...
* include/locale.h: Define _nl_C_locobj_ptr.
* iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer
to _nl_C_locobj because we also need a cast.
* iconv/gconv_conf.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* locale/duplocale.c: Likewise.
* locale/freelocale.c: Likewise.
* locale/newlocale.c: Likewise.
* misc/syslog.c: Likewise.
* stdlib/strtod_l.c: Likewise.
* sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2005-12-21 07:28:33 +00:00
Ulrich Drepper
808e0190f7
* csu/dso_handle.c (__dso_handle): Mark as const.
2005-12-21 04:27:56 +00:00
Ulrich Drepper
72005a5d0d
* intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
...
* intl/plural-exp.h: Adjust declaration of
__gettext_germanic_plural.
2005-12-21 04:23:34 +00:00
Ulrich Drepper
e1545188b3
* resolv/herror.c (h_errlist): Mark as const.
...
(h_nerr): Likewise.
2005-12-21 04:07:21 +00:00
Ulrich Drepper
31d7b14cfa
* sunrpc/clnt_unix.c (unix_ops): Mark as const.
...
* sunrpc/auth_des.c (authdes_ops): Likewise.
* sunrpc/svc_raw.c (server_ops): Likewise.
* sunrpc/clnt_udp.c (udp_ops): Likewise.
* sunrpc/clnt_tcp.c (tcp_ops): Likewise.
* sunrpc/clnt_raw.c (client_ops): Likewise.
* sunrpc/auth_unix.c (auth_unix_ops): Likewise.
2005-12-20 22:56:06 +00:00
Ulrich Drepper
a5abbd3316
(client_ops): Mark as const.
2005-12-20 22:00:50 +00:00
Roland McGrath
a25e7e9f72
[BZ #2061 ]
...
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
[BZ #2061 ]
* sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
2005-12-20 21:57:53 +00:00
Roland McGrath
7d9642f06f
* sysdeps/unix/sysv/linux/ifreq.h: File removed.
...
* sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here.
* sysdeps/mach/hurd/ifreq.h: File removed.
(__ifreq): Function moved to ...
* sysdeps/mach/hurd/ifreq.c: ... here, new file.
2005-12-20 21:53:22 +00:00
Roland McGrath
287058ead3
2005-12-20 Roland McGrath <roland@redhat.com>
...
* sysdeps/mach/hurd/ifreq.h: File removed.
(__ifreq): Function moved to ...
* sysdeps/mach/hurd/ifreq.c: ... here, new file.
2005-12-20 21:52:56 +00:00
Ulrich Drepper
55b6a4f263
* sunrpc/auth_unix.c (auth_unix_ops): Mark as const.
...
* sunrpc/auth_none.c (ops): Likewise.
2005-12-20 19:25:53 +00:00
Ulrich Drepper
3d50529df9
* sunrpc/auth_none.c (ops): Mark as const.
...
* nss/nsswitch.c (databases): Mark as const. Change name field
into array.
* nss/databases.def: Add warning.
2005-12-20 19:00:19 +00:00
Ulrich Drepper
cc2f0a2bb9
* resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
...
mark const.
(cmd): Mark as const.
2005-12-20 18:35:45 +00:00
Ulrich Drepper
545f1b1177
* resolv/res_hconf.c (cmd): Mark as const.
...
(parse_line): Mark c as pointer to const.
2005-12-20 18:25:49 +00:00
Ulrich Drepper
970362dc56
* misc/getusershell.c (initshells): Remove unnecessary tests.
...
(endusershell): Likewise.
(okshells): Mark as const.
2005-12-20 18:18:28 +00:00
Ulrich Drepper
2094e1a975
* sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
...
* sysdeps/posix/gai_strerror-strs.h: New file.
* sysdeps/posix/Dist: New file.
2005-12-20 17:53:00 +00:00
Ulrich Drepper
192c0fa590
* sysdeps/posix/getaddrinfo.c (gaih): Mark as const.
...
* locale/loadlocale.c (_nl_value_types): Likewise.
2005-12-20 16:51:14 +00:00
Ulrich Drepper
aa87e9156d
* locale/loadlocale.c (_nl_value_types): Mark as const.
...
* iconv/gconv_conf.c (builtin_aliases): Likewise.
2005-12-20 16:35:25 +00:00
Ulrich Drepper
8da21f96b5
* iconv/gconv_conf.c (builtin_aliases): Mark as const.
...
* iconv/gconv_open.c (internal_trans_names): Likewise.
2005-12-20 16:14:06 +00:00
Ulrich Drepper
b7cc4503da
* iconv/gconv_open.c (internal_trans_names): Mark as const.
2005-12-20 15:54:40 +00:00
Ulrich Drepper
d9038ff837
* sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.
...
(PTR_MANGLE, PTR_DEMANGLE): Define.
(SYSCALL_ERROR_HANDLER): Fix typo.
* sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined.
* sysdeps/sh/sh3/__longjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined.
* sysdeps/sh/sh3/setjmp.S: Likewise.
2005-12-20 15:28:51 +00:00
Ulrich Drepper
3525901584
* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
...
* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
use sysdeps/unix/time.c implementation.
2005-12-20 15:11:40 +00:00
Ulrich Drepper
0f7920cf33
[BZ #1952 , BZ #1955 ]
...
2005-12-19 Ulrich Drepper <drepper@redhat.com>
[BZ #1955 ]
* timezone/zic.c (tofile;): Fix typo in symlink creation.
Patch by Phil Estes <pestes@us.ibm.com>.
[BZ #1952 ]
* sysdeps/unix/sysv/linux/time.c: New file.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry.
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
2005-12-20 07:57:16 +00:00