Samuel Thibault
c8b4ce0b36
hurd: Fix restoring message to be retried
...
save_data stores the start of the original message to be retried,
overwritten by the EINTR reply. In 64b builds the overwrite is however
rounded up to the 64b pointer size, so we have to save more than just
the 32b err.
Thanks a lot to Luca Dariz for the investigation!
2024-07-13 17:05:13 +02:00
Paul Eggert
dff8da6b3e
Update copyright dates with scripts/update-copyrights
2024-01-01 10:53:40 -08:00
Flavio Cruz
ad26c25137
Update code to handle the new ABI for sending inlined port rights.
...
For i686, this change is no op but for x86_64 it forces all inlined port
rights to be 8 bytes long.
2023-12-17 23:48:37 +01:00
Samuel Thibault
d776a59723
Revert "Update code to handle the new ABI for sending inlined port rights."
...
This reverts commit 7e23b3c2c0
.
2023-12-03 02:06:29 +01:00
Samuel Thibault
3e85650423
Revert "hurd: Fix build"
...
This reverts commit 7096914dd8
.
2023-12-03 02:06:19 +01:00
Samuel Thibault
7096914dd8
hurd: Fix build
...
7e23b3c2c0
("Update code to handle the new ABI for sending inlined
port rights.") was missing a cast.
Fixes 7e23b3c2c0
2023-12-03 01:52:58 +01:00
Flavio Cruz
7e23b3c2c0
Update code to handle the new ABI for sending inlined port rights.
...
For i686, this change is no op but for x86_64 it forces all inlined port
rights to be 8 bytes long.
Message-ID: <20231124213041.952886-2-flaviocruz@gmail.com>
2023-12-03 01:03:41 +01:00
Flavio Cruz
6ae7b5f43d
Remove untyped mach RPC code.
...
Existing MiG does not support untyped messages and the Hurd will
continue to use typed messages for the foreseeable future.
Message-ID: <ZVmYX6j4pYNUfqn4@jupiter.tail36e24.ts.net>
2023-11-19 10:21:28 +01:00
Flavio Cruz
f11a92993c
_hurd_intr_rpc_mach_msg: handle message iteration correctly.
...
The `ty` pointer is only set at the end of the loop so that
`msgtl_header.msgt_inline` and `msgtl_header.msgt_deallocate` remain
valid. Also, when deallocating memory, we use the length from the
message directly rather than hard coding mach_port_t since we want to
deallocate any kind of OOL data.
Message-ID: <ZVlGVD6eEN-dXsOr@jupiter.tail36e24.ts.net>
2023-11-19 00:37:20 +01:00
Samuel Thibault
8f22e36238
hurd: Make _hurd_intr_rpc_mach_msg avoid returning MACH_SEND_INTERRUPTED
...
When the given options do not include MACH_SEND_INTERRUPT,
_hurd_intr_rpc_mach_msg (aka mach_msg) is not supposed to return
MACH_SEND_INTERRUPTED. In such a case we thus have to retry sending the
message.
This was observed to fix various occurrences of spurious
"(ipc/send) interrupted" errors when running haskell programs.
2023-11-14 02:05:52 +01:00
Flavio Cruz
84b4a81aeb
Update hurd/hurdselect.c to be more portable.
...
Summary of changes:
- Use BAD_TYPECHECK to perform type checking in a cleaner way.
BAD_TYPECHECK is moved into sysdeps/mach/rpc.h to avoid duplication.
- Remove assertions for mach_msg_type_t since those won't work for
x86_64.
- Update message structs to use mach_msg_type_t directly.
- Use designated initializers.
Message-Id: <ZFa+roan3ioo0ONM@jupiter.tail36e24.ts.net>
2023-05-06 23:10:55 +02:00
Flavio Cruz
4571fb8fe6
Update hurd/intr-msg.c to be more portable
...
Summary of the changes:
- Introduce BAD_TYPECHECK from MiG to make it simpler to do type
checking.
- Replace int type with mach_msg_type_t. This assumes that
mach_msg_type_t is always the same size as int which is not true for
x86_64.
- Calculate the size and align using PTR_ALIGN_UP, which is a bit
cleaner and similar to what we do elsewhere.
- Define mach_msg_type_t to check using designated initializers.
Message-Id: <ZFMvrIkvoCSxqB/C@jupiter.tail36e24.ts.net>
2023-05-05 02:24:38 +02:00
Sergey Bugaev
4e506f67cb
hurd: Replace reply port with a dead name on failed interruption
...
If we're trying to interrupt an interruptible RPC, but the server fails
to respond to our __interrupt_operation () call, we instead destroy the
reply port we were expecting the reply to the RPC on.
Instead of deallocating the name completely, replace it with a dead
name, so the name won't get reused for some other right, and deallocate
it in _hurd_intr_rpc_mach_msg once we return from the signal handler.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230429201822.2605207-4-bugaevc@gmail.com>
2023-05-01 03:18:48 +02:00
Joseph Myers
6d7e8eda9b
Update copyright dates with scripts/update-copyrights
2023-01-06 21:14:39 +00:00
Paul Eggert
581c785bf3
Update copyright dates with scripts/update-copyrights
...
I used these shell commands:
../glibc/scripts/update-copyrights $PWD/../gnulib/build-aux/update-copyright
(cd ../glibc && git commit -am"[this commit message]")
and then ignored the output, which consisted lines saying "FOO: warning:
copyright statement not found" for each of 7061 files FOO.
I then removed trailing white space from math/tgmath.h,
support/tst-support-open-dev-null-range.c, and
sysdeps/x86_64/multiarch/strlen-vec.S, to work around the following
obscure pre-commit check failure diagnostics from Savannah. I don't
know why I run into these diagnostics whereas others evidently do not.
remote: *** 912-#endif
remote: *** 913:
remote: *** 914-
remote: *** error: lines with trailing whitespace found
...
remote: *** error: sysdeps/unix/sysv/linux/statx_cp.c: trailing lines
2022-01-01 11:40:24 -08:00
Paul Eggert
2b778ceb40
Update copyright dates with scripts/update-copyrights
...
I used these shell commands:
../glibc/scripts/update-copyrights $PWD/../gnulib/build-aux/update-copyright
(cd ../glibc && git commit -am"[this commit message]")
and then ignored the output, which consisted lines saying "FOO: warning:
copyright statement not found" for each of 6694 files FOO.
I then removed trailing white space from benchtests/bench-pthread-locks.c
and iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c, to work around this
diagnostic from Savannah:
remote: *** pre-commit check failed ...
remote: *** error: lines with trailing whitespace found
remote: error: hook declined to update refs/heads/master
2021-01-02 12:17:34 -08:00
Joseph Myers
d614a75396
Update copyright dates with scripts/update-copyrights.
2020-01-01 00:14:33 +00:00
Paul Eggert
5a82c74822
Prefer https to http for gnu.org and fsf.org URLs
...
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
$(find $(git ls-files) -prune -type f \
! -name '*.po' \
! -name 'ChangeLog*' \
! -path COPYING ! -path COPYING.LIB \
! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
! -path manual/texinfo.tex ! -path scripts/config.guess \
! -path scripts/config.sub ! -path scripts/install-sh \
! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
! -path INSTALL ! -path locale/programs/charmap-kw.h \
! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
! '(' -name configure \
-execdir test -f configure.ac -o -f configure.in ';' ')' \
! '(' -name preconfigure \
-execdir test -f preconfigure.ac ';' ')' \
-print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
chmod a+x sysdeps/unix/sysv/linux/riscv/configure
# Omit irrelevant whitespace and comment-only changes,
# perhaps from a slightly-different Autoconf version.
git checkout -f \
sysdeps/csky/configure \
sysdeps/hppa/configure \
sysdeps/riscv/configure \
sysdeps/unix/sysv/linux/csky/configure
# Omit changes that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
git checkout -f \
sysdeps/powerpc/powerpc64/ppc-mcount.S \
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
# Omit change that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 02:43:31 -07:00
Joseph Myers
34a5a1460e
Break some lines before not after operators.
...
The GNU Coding Standards specify that line breaks in expressions
should go before an operator, not after one. This patch fixes various
code to do this. It only changes code that appears to be mostly
following GNU style anyway, not files and directories with
substantially different formatting. It is not exhaustive even for
files using GNU style (for example, changes to sysdeps files are
deferred for subsequent cleanups). Some files changed are shared with
gnulib, but most are specific to glibc. Changes were made manually,
with places to change found by grep (so some cases, e.g. where the
operator was followed by a comment at end of line, are particularly
liable to have been missed by grep, but I did include cases where the
operator was followed by backslash-newline).
This patch generally does not attempt to address other coding style
issues in the expressions changed (for example, missing spaces before
'(', or lack of parentheses to ensure indentation of continuation
lines properly reflects operator precedence).
Tested for x86_64, and with build-many-glibcs.py.
* benchtests/bench-memmem.c (simple_memmem): Break lines before
rather than after operators.
* benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
* crypt/md5.c (md5_finish_ctx): Likewise.
* crypt/sha256.c (__sha256_finish_ctx): Likewise.
* crypt/sha512.c (__sha512_finish_ctx): Likewise.
* elf/cache.c (load_aux_cache): Likewise.
* elf/dl-load.c (open_verify): Likewise.
* elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
* elf/readelflib.c (process_elf_file): Likewise.
* elf/rtld.c (dl_main): Likewise.
* elf/sprof.c (generate_call_graph): Likewise.
* hurd/ctty-input.c (_hurd_ctty_input): Likewise.
* hurd/ctty-output.c (_hurd_ctty_output): Likewise.
* hurd/dtable.c (reauth_dtable): Likewise.
* hurd/getdport.c (__getdport): Likewise.
* hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
* hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
* hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
Likewise.
* hurd/hurdioctl.c (fioctl): Likewise.
* hurd/hurdselect.c (_hurd_select): Likewise.
* hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
(STOPSIGS): Likewise.
* hurd/hurdstartup.c (_hurd_startup): Likewise.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
* hurd/msgportdemux.c (msgport_server): Likewise.
* hurd/setauth.c (_hurd_setauth): Likewise.
* include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
* libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
* locale/programs/ld-ctype.c (set_class_defaults): Likewise.
* localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
* login/tst-utmp.c (do_check): Likewise.
(simulate_login): Likewise.
* mach/lowlevellock.h (lll_lock): Likewise.
(lll_trylock): Likewise.
* math/test-fenv.c (ALL_EXC): Likewise.
* math/test-fenvinline.c (ALL_EXC): Likewise.
* misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
* nis/nis_call.c (__do_niscall3): Likewise.
* nis/nis_callback.c (cb_prog_1): Likewise.
* nis/nis_defaults.c (searchaccess): Likewise.
* nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
* nis/nis_ismember.c (internal_ismember): Likewise.
* nis/nis_local_names.c (nis_local_principal): Likewise.
* nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
Likewise.
* nis/ypclnt.c (yp_match): Likewise.
(yp_first): Likewise.
(yp_next): Likewise.
(yp_master): Likewise.
(yp_order): Likewise.
* nscd/hstcache.c (cache_addhst): Likewise.
* nscd/initgrcache.c (addinitgroupsX): Likewise.
* nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
(internal_getpwuid_r): Likewise.
* nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
* posix/glob.h (__GLOB_FLAGS): Likewise.
* posix/regcomp.c (peek_token): Likewise.
(peek_token_bracket): Likewise.
(parse_expression): Likewise.
* posix/regexec.c (sift_states_iter_mb): Likewise.
(check_node_accept_bytes): Likewise.
* posix/tst-spawn3.c (do_test): Likewise.
* posix/wordexp-test.c (testit): Likewise.
* posix/wordexp.c (parse_tilde): Likewise.
(exec_comm): Likewise.
* posix/wordexp.h (__WRDE_FLAGS): Likewise.
* resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
* setjmp/sigjmp.c (__sigjmp_save): Likewise.
* stdio-common/printf_fp.c (__printf_fp_l): Likewise.
* stdio-common/tst-fileno.c (do_test): Likewise.
* stdio-common/vfprintf-internal.c (vfprintf): Likewise.
* stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
* stdlib/strtod_l.c (round_and_return): Likewise.
(____STRTOF_INTERNAL): Likewise.
* stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
* string/strcspn.c (STRCSPN): Likewise.
* string/test-memmem.c (simple_memmem): Likewise.
* termios/tcsetattr.c (tcsetattr): Likewise.
* time/alt_digit.c (_nl_parse_alt_digit): Likewise.
* time/asctime.c (asctime_internal): Likewise.
* time/strptime_l.c (__strptime_internal): Likewise.
* time/sys/time.h (timercmp): Likewise.
* time/tzfile.c (__tzfile_compute): Likewise.
2019-02-22 01:32:36 +00:00
Joseph Myers
04277e02d7
Update copyright dates with scripts/update-copyrights.
...
* All files with FSF copyright notices: Update copyright dates
using scripts/update-copyrights.
* locale/programs/charmap-kw.h: Regenerated.
* locale/programs/locfile-kw.h: Likewise.
2019-01-01 00:11:28 +00:00
Samuel Thibault
b6e7c449f9
hurd: return EIEIO instead of EIO
...
EIO would be understood as hardware failure, while this is software
failure.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Return EIEIO instead of EIO
2018-10-29 18:57:13 +01:00
Samuel Thibault
5c81be5340
hurd: Fix race between calling RPC and handling a signal
...
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
_hurd_intr_rpc_msg_about_to global point to start of controlled
assembly snippet. Make it check canceled flag.
* hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
the _hurd_intr_rpc_msg_about_to point.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
issue, remove cancel flag check.
2018-10-28 13:41:51 +01:00
Samuel Thibault
2d0d1d3876
hurd: Return EIO on non-responding interrupted servers
...
since we do not actually know whether the RPC was completed or not,
which makes a huge difference for e.g. write(), so better really error
out than letting caller think that the RPC did not happen.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
answer to interrupt_operation, return EIO instead of EINTR.
2018-10-28 10:25:44 +01:00
Samuel Thibault
7a8f45e302
hurd: Avoid some libc.so PLTs
...
* hurd/catch-signal.c (hurd_catch_signal): Rename to
__hurd_catch_signal.
(hurd_catch_signal): New strong alias.
(hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
__hurd_catch_signal instead of hurd_catch_signal.
* hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
* hurd/hurdexec.c (_hurd_init): Add hidden def.
* hurd/hurdinit.c (_hurd_init): Add hidden def.
* hurd/hurdsig.c: Include <mach/mig_support.h>.
(_hurd_thread_sigstate): Add hidden def.
(_hurd_internal_post_signal): Use __mutex_unlock instead of
mutex_unlock.
* hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
* hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
__hurd_file_name_path_lookup.
(hurd_file_name_path_lookup): New strong alias.
(file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
hurd_file_name_path_lookup.
* mach/errstring.c (mach_error_type): Add hidden def.
* mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
* mach/mutex-init.c (__mutex_init): Add hidden def.
* mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
__spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
* mach/spin-solid.c (__spin_lock_solid): Add hidden def.
* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): Rename to
__hurd_canonicalize_directory_name_internal.
(_hurd_canonicalize_directory_name_internal): New strong alias.
(__canonicalize_directory_name_internal, __getcwd): Call
__hurd_canonicalize_directory_name_internal instead of
_hurd_canonicalize_directory_name_internal.
* sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
(__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
hidden defs.
* sysdeps/hurd/include/hurd.h: New file.
* sysdeps/hurd/include/hurd/fd.h: New file.
* sysdeps/hurd/include/hurd/signal.h: New file.
* sysdeps/mach/include/lock-intern.h: New file.
* sysdeps/mach/include/mach.h: New file.
* sysdeps/mach/include/mach/mig_support.h: New file.
* sysdeps/mach/include/mach_error.h: New file.
2018-04-02 22:08:55 +00:00
Joseph Myers
688903eb3e
Update copyright dates with scripts/update-copyrights.
...
* All files with FSF copyright notices: Update copyright dates
using scripts/update-copyrights.
* locale/programs/charmap-kw.h: Regenerated.
* locale/programs/locfile-kw.h: Likewise.
2018-01-01 00:32:25 +00:00
Joseph Myers
bfff8b1bec
Update copyright dates with scripts/update-copyrights.
2017-01-01 00:14:16 +00:00
Joseph Myers
f7a9f785e5
Update copyright dates with scripts/update-copyrights.
2016-01-04 16:05:18 +00:00
Joseph Myers
b168057aaa
Update copyright dates with scripts/update-copyrights.
2015-01-02 16:29:47 +00:00
Allan McRae
d4697bc93d
Update copyright notices with scripts/update-copyrights
2014-01-01 22:00:23 +10:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Roland McGrath
cb1847adb5
copyright update
2005-10-23 00:55:27 +00:00
Roland McGrath
4e4c417b18
[BZ #1252 ]
...
2005-10-17 Thomas Schwinge <tschwinge@gnu.org>
[BZ #1252 ]
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
* sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2005-10-23 00:43:15 +00:00
Ulrich Drepper
a334319f65
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
2004-12-22 20:10:10 +00:00
Jakub Jelinek
0ecb606cb6
2.5-18.1
2007-07-12 18:26:36 +00:00
Roland McGrath
21297437bb
* sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>
...
or <machine/ndr_def.h> and add -DNDR_DEF_HEADER=... to DEFINES.
* sysdeps/mach/configure: Regenerated.
* mach/mach_init.c [NDR_DEF_HEADER]: #include it.
* hurd/hurdfault.c (_hurdsig_fault_init): Add a cast.
* hurd/hurd/signal.h: Include <setjmp.h> for `jmp_buf' decl.
* mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]:
Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE.
* sysdeps/mach/hurd/times.c
[NO_CREATION_TIME] (startup_time): New static variable.
[NO_CREATION_TIME] (times_init): New static function in __libc_subinit.
(__times) [NO_CREATION_TIME]: Use startup_time in lieu of task
creation_time from task_basic_info.
(__times): Use __gettimeofday instead of __host_get_time.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]:
Use untyped Mach IPC message format.
* hurd/catch-exc.c: Include <assert.h>, missing from last change.
2002-02-18 20:57:51 +00:00
Roland McGrath
ca18306b75
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after
...
`default:' to silence new GCC warning.
Rewrite cast of lvalue to silence new GCC warning.
* sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm.
2001-12-17 01:03:08 +00:00
Andreas Jaeger
41bdb6e20c
Update to LGPL v2.1.
...
2001-07-06 Paul Eggert <eggert@twinsun.com>
* manual/argp.texi: Remove ignored LGPL copyright notice; it's
not appropriate for documentation anyway.
* manual/libc-texinfo.sh: "Library General Public License" ->
"Lesser General Public License".
2001-07-06 Andreas Jaeger <aj@suse.de>
* All files under GPL/LGPL version 2: Place under LGPL version
2.1.
2001-07-06 04:58:11 +00:00
Roland McGrath
024c4ccba6
2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
and other errors that indicate a pseudo-receive happened, grok through
the message buffer for port rights that need references fixed up.
2000-03-18 08:25:11 +00:00
Roland McGrath
38e30b398a
1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
...
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
TIMEOUT as outputs of the asm to indicate that the signal thread
might mutate them.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
mach_msg if only sending or only receiving (i.e., not an RPC). When
making an RPC that might get interrupted, save OPTION and the portion
of the message buffer that gets clobbered by an EINTR reply message,
and properly restore them before attempting to retry the request
message send.
1999-08-22 22:23:58 +00:00
Roland McGrath
a606ab4c89
1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
initializer in CHECK: a bit size, not the type code repeated!
1999-08-01 02:41:04 +00:00
Roland McGrath
37eb58de74
1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
...
[submitted 1998-08-06]
* mach/Machrules: Create target directory and force re-evaluation
of Makefile to prevent `make' from optimizing away most of the
implicit rules and `vpath' directives.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
is null, short-circuit to __mach_msg.
1998-10-18 23:19:12 +00:00
Ulrich Drepper
5107cf1d7d
Update.
...
1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com>
* config.h.in: Add DO_STATIC_NSS.
* config.make.in: Add build-static-nss.
* elf/eval.c: Use __getdelim instead of __getline.
* locale/programs/locale.c: Correct comment.
* manual/libc.texinfo: Update copyright and date.
Remove A4 option.
* sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
for gamma overflow.
* sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
* sysdeps/libm-ieee754/w_gammaf.c: Likewise.
* sysdeps/libm-ieee754/w_gammalp.c: Likewise.
* po/ko.po: Update.
1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
The Great Bit File Move:
* configure.in (AC_INIT): Look in include/ for features.h.
(sysnames): Add include as the final search directory.
(AC_OUTPUT): Create a bits directory in the build directory.
* Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
* Makefile: Make sure the target directory exists when installing
<gnu/stubs.h> and <gnu/lib-names.h>.
* csu/Makefile: Use $(compile.S) and $(compile.c) instead of
invoking $(CC) directly, as the former have the full include path.
* ansidecl.h: Removed.
* aliases.h: Moved to include/.
* alloca.h: Likewise.
* argp.h: Likewise.
* argz.h: Likewise.
* arpa/ftp.h: Likewise.
* arpa/inet.h: Likewise.
* arpa/nameser.h: Likewise.
* arpa/telnet.h: Likewise.
* arpa/tftp.h: Likewise.
* assert.h: Likewise.
* ctype.h: Likewise.
* db.h: Likewise.
* dirent.h: Likewise.
* dlfcn.h: Likewise.
* elf.h: Likewise.
* endian.h: Likewise.
* envz.h: Likewise.
* err.h: Likewise.
* errno.h: Likewise.
* error.h: Likewise.
* fcntl.h: Likewise.
* features.h: Likewise.
* fnmatch.h: Likewise.
* ftw.h: Likewise.
* getopt.h: Likewise.
* glob.h: Likewise.
* gnu-versions.h: Likewise.
* grp.h: Likewise.
* langinfo.h: Likewise.
* libc-symbols.h: Likewise.
* libgen.h: Likewise.
* libintl.h: Likewise.
* limits.h: Likewise.
* linewrap.h: Likewise.
* link.h: Likewise.
* locale.h: Likewise.
* malloc.h: Likewise.
* math.h: Likewise.
* mathcalls.h: Likewise.
* mcheck.h: Likewise.
* memory.h: Likewise.
* netdb.h: Likewise.
* netgroup.h: Likewise.
* netinet/ether.h: Likewise.
* netinet/in.h: Likewise.
* nlist.h: Likewise.
* nss.h: Likewise.
* nsswitch.h: Likewise.
* obstack.h: Likewise.
* poll.h: Likewise.
* posix1_lim.h: Likewise.
* posix2_lim.h: Likewise.
* printf.h: Likewise.
* protocols/routed.h: Likewise.
* protocols/rwhod.h: Likewise.
* protocols/talkd.h: Likewise.
* protocols/timed.h: Likewise.
* pwd.h: Likewise.
* regex.h: Likewise.
* resolv.h: Likewise.
* rpc/auth_unix.h: Likewise.
* rpc/clnt.h: Likewise.
* rpc/netdb.h: Likewise.
* rpc/pmap_clnt.h: Likewise.
* rpc/pmap_prot.h: Likewise.
* rpc/pmap_rmt.h: Likewise.
* rpc/rpc.h: Likewise.
* rpc/rpc_msg.h: Likewise.
* rpc/svc.h: Likewise.
* rpc/svc_auth.h: Likewise.
* rpc/types.h: Likewise.
* rpc/xdr.h: Likewise.
* sched.h: Likewise.
* search.h: Likewise.
* set-hooks.h: Likewise.
* setjmp.h: Likewise.
* sgtty.h: Likewise.
* shadow.h: Likewise.
* signal.h: Likewise.
* stab.def: Likewise.
* stab.h: Likewise.
* stdio.h: Likewise.
* stdlib.h: Likewise.
* string.h: Likewise.
* strings.h: Likewise.
* sys/bitypes.h: Likewise.
* sys/cdefs.h: Likewise.
* sys/dir.h: Likewise.
* sys/errno.h: Likewise.
* sys/fcntl.h: Likewise.
* sys/file.h: Likewise.
* sys/gmon.h: Likewise.
* sys/ioctl.h: Likewise.
* sys/ipc.h: Likewise.
* sys/msg.h: Likewise.
* sys/poll.h: Likewise.
* sys/queue.h: Likewise.
* sys/resource.h: Likewise.
* sys/select.h: Likewise.
* sys/sem.h: Likewise.
* sys/shm.h: Likewise.
* sys/signal.h: Likewise.
* sys/socket.h: Likewise.
* sys/stat.h: Likewise.
* sys/statfs.h: Likewise.
* sys/syslog.h: Likewise.
* sys/termios.h: Likewise.
* sys/time.h: Likewise.
* sys/timeb.h: Likewise.
* sys/times.h: Likewise.
* sys/types.h: Likewise.
* sys/uio.h: Likewise.
* sys/un.h: Likewise.
* sys/unistd.h: Likewise.
* sys/utsname.h: Likewise.
* sys/vlimit.h: Likewise.
* sys/vtimes.h: Likewise.
* sys/wait.h: Likewise.
* syscall.h: Likewise.
* syslog.h: Likewise.
* tar.h: Likewise.
* termios.h: Likewise.
* time.h: Likewise.
* ttyent.h: Likewise.
* unistd.h: Likewise.
* utime.h: Likewise.
* utmp.h: Likewise.
* values.h: Likewise.
* wchar.h: Likewise.
* wctype.h: Likewise.
* wordexp.h: Likewise.
* xlocale.h: Likewise.
* xopen_lim.h: Likewise.
* linuxthreads/sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
* linuxthreads/sysdeps/powerpc/semaphorebits.h: Likewise.
* linuxthreads/sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
* linuxthreads/sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
* linuxthreads/sysdeps/pthread/libc-lock.h: -> bits/
* sysdeps/mach/libc-lock.h: Likewise.
* sysdeps/stub/libc-lock.h: Likewise.
* linuxthreads/sysdeps/pthread/stdio-lock.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/local_lim.h: Likewise.
* sysdeps/mach/hurd/local_lim.h: Likewise.
* sysdeps/stub/local_lim.h: Likewise.
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
* sysdeps/unix/sysv/local_lim.h: Likewise.
* sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
* sysdeps/mach/hurd/posix_opt.h: Likewise.
* sysdeps/stub/posix_opt.h: Likewise.
* sysdeps/unix/bsd/posix_opt.h: Likewise.
* sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
* math/cmathcalls.h: -> bits/
* math/mathcalls.h: Likewise.
* misc/stab.def: -> bits/
* posix/posix1_lim.h: -> bits/
* posix/posix2_lim.h: Likewise.
* sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
* sysdeps/i386/fpu/__math.h: Likewise.
* sysdeps/m68k/fpu/__math.h: Likewise.
* sysdeps/m68k/fpu/switch/__math.h: Likewise.
* sysdeps/powerpc/__math.h: Likewise.
* sysdeps/stub/__math.h: Likewise.
* sysdeps/alpha/bytesex.h: -> .../bits/endian.h
* sysdeps/arm/bytesex.h: Likewise.
* sysdeps/i386/bytesex.h: Likewise.
* sysdeps/m68k/bytesex.h: Likewise.
* sysdeps/mips/bytesex.h: Likewise.
* sysdeps/mips/dec/bytesex.h: Likewise.
* sysdeps/mips/mipsel/bytesex.h: Likewise.
* sysdeps/mips/p40/bytesex.h: Likewise.
* sysdeps/sparc/bytesex.h: Likewise.
* sysdeps/stub/bytesex.h: Likewise.
* sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
* sysdeps/i386/fpu/fenvbits.h: Likewise.
* sysdeps/m68k/fpu/fenvbits.h: Likewise.
* sysdeps/powerpc/fenvbits.h: Likewise.
* sysdeps/stub/fenvbits.h: Likewise.
* sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
* sysdeps/arm/jmp_buf.h: Likewise.
* sysdeps/i386/jmp_buf.h: Likewise.
* sysdeps/m68k/jmp_buf.h: Likewise.
* sysdeps/mips/jmp_buf.h: Likewise.
* sysdeps/sparc/jmp_buf.h: Likewise.
* sysdeps/powerpc/jmp_buf.h: Likewise.
* sysdeps/stub/jmp_buf.h: Likewise.
* sysdeps/vax/jmp_buf.h: Likewise.
* sysdeps/generic/confname.h: -> bits/
* sysdeps/unix/sysv/irix4/confname.h: Likewise.
* sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
* sysdeps/generic/gnu/types.h: -> ../bits/types.h
* sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
* sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
* sysdeps/generic/ioctl-types.h: -> bits/
* sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
* sysdeps/generic/iovec.h: -> .../bits/uio.h
* sysdeps/unix/sysv/linux/iovec.h: Likewise.
* sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
* sysdeps/i386/fpu/mathbits.h: Likewise.
* sysdeps/m68k/fpu/mathbits.h: Likewise.
* sysdeps/powerpc/mathbits.h: Likewise.
* sysdeps/generic/resourcebits.h: -> .../bits/resource.h
* sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
* sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
* sysdeps/generic/schedbits.h: -> .../bits/sched.h
* sysdeps/unix/sysv/linux/schedbits.h: Likewise.
* sysdeps/generic/selectbits.h: -> .../bits/select.h
* sysdeps/i386/selectbits.h: Likewise.
* sysdeps/generic/sigaction.h: -> bits/
* sysdeps/unix/bsd/osf/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
* sysdeps/unix/sysv/minix/sigaction.h: Likewise.
* sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
* sysdeps/generic/sigset.h: -> bits/
* sysdeps/unix/sysv/linux/sigset.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
* sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
* sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
* sysdeps/generic/socketbits.h: -> .../bits/socket.h
* sysdeps/unix/sysv/linux/socketbits.h: Likewise.
* sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
* sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
* sysdeps/generic/termbits.h: -> .../bits/termios.h
* sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
* sysdeps/unix/sysv/linux/termbits.h: Likewise.
* sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
* sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
* sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
* sysdeps/gnu/utmpbits.h: Likewise.
* sysdeps/unix/sysv/utmpbits.h: Likewise.
* sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
* sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
* sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
* sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
* sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
* sysdeps/unix/sysv/utsnamelen.h: Likewise.
* sysdeps/generic/waitstatus.h: -> bits/
* sysdeps/i386/huge_val.h: -> bits/
* sysdeps/ieee754/huge_val.h: Likewise.
* sysdeps/m68k/huge_val.h: Likewise.
* sysdeps/stub/huge_val.h: Likewise.
* sysdeps/vax/huge_val.h: Likewise.
* sysdeps/ieee754/nan.h: Likewise.
* sysdeps/stub/nan.h: Likewise.
* sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
* sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
* sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
* sysdeps/stub/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
* sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
* sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
* sysdeps/standalone/arm/errnos.h: Likewise.
* sysdeps/stub/errnos.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
* sysdeps/unix/sysv/linux/errnos.h: Likewise.
* sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
* sysdeps/stub/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
* sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
* sysdeps/unix/common/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
* sysdeps/mach/hurd/ioctls.h: -> bits/
* sysdeps/stub/ioctls.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
* sysdeps/unix/sysv/linux/ioctls.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
* sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
* sysdeps/stub/statbuf.h: Likewise.
* sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
* sysdeps/unix/bsd/statbuf.h: Likewise.
* sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
* sysdeps/unix/sysv/linux/statbuf.h: Likewise.
* sysdeps/unix/sysv/statbuf.h: Likewise.
* sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
* sysdeps/standalone/stdio_lim.h: -> bits/
* sysdeps/stub/stdio_lim.h: Likewise.
* sysdeps/stub/direntry.h: -> ../bits/dirent.h
* sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
* sysdeps/unix/bsd/direntry.h: Likewise.
* sysdeps/unix/common/direntry.h: Likewise.
* sysdeps/unix/sysv/direntry.h: Likewise.
* sysdeps/unix/sysv/linux/direntry.h: Likewise.
* sysdeps/stub/elfclass.h: -> bits/
* sysdeps/wordsize-32/elfclass.h: Likewise.
* sysdeps/wordsize-64/elfclass.h: Likewise.
* sysdeps/stub/signum.h: -> bits/
* sysdeps/unix/bsd/signum.h: Likewise.
* sysdeps/unix/bsd/sun/signum.h: Likewise.
* sysdeps/unix/sysv/irix4/signum.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
* sysdeps/unix/sysv/linux/signum.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
* sysdeps/unix/sysv/signum.h: Likewise.
* sysdeps/unix/sysv/sysv4/signum.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
* sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
* sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
* sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
* sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
* sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
* sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
* sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
* sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
* sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
* sysdeps/stub/timebits.h: -> .../bits/time.h
* sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
* sysdeps/unix/sysv/linux/timebits.h: Likewise.
* sysdeps/stub/waitflags.h: -> bits/
* sysdeps/unix/bsd/waitflags.h: Likewise.
* sysdeps/unix/sysv/linux/waitflags.h: Likewise.
* sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
* sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
* sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
* argp/argp-fmtstream.h: Standardize the multiple-include protect.
* argp/argp.h: Likewise.
* catgets/nl_types.h: Likewise.
* crypt/sysdeps/unix/crypt.h: Likewise.
* ctype/ctype.h: Likewise.
* db/db.h: Likewise.
* db/mpool.h: Likewise.
* db/ndbm.h: Likewise.
* dirent/dirent.h: Likewise.
* elf/dlfcn.h: Likewise.
* elf/elf.h: Likewise.
* elf/link.h: Likewise.
* gmon/sys/gmon.h: Likewise.
* gmon/sys/gmon_out.h: Likewise.
* grp/grp.h: Likewise.
* inet/aliases.h: Likewise.
* inet/arpa/ftp.h: Likewise.
* inet/arpa/inet.h: Likewise.
* inet/arpa/telnet.h: Likewise.
* inet/arpa/tftp.h: Likewise.
* inet/netinet/ether.h: Likewise.
* inet/netinet/icmp6.h: Likewise.
* inet/netinet/in.h: Likewise.
* inet/netinet/ip6.h: Likewise.
* inet/protocols/routed.h: Likewise.
* inet/protocols/rwhod.h: Likewise.
* inet/protocols/talkd.h: Likewise.
* inet/protocols/timed.h: Likewise.
* intl/libintl.h: Likewise.
* io/fcntl.h: Likewise.
* io/fts.h: Likewise.
* io/ftw.h: Likewise.
* io/sys/poll.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/utime.h: Likewise.
* linuxthreads/semaphore.h: Likewise.
* linuxthreads/sysdeps/pthread/pthread.h: Likewise.
* locale/locale.h: Likewise.
* login/pty.h: Likewise.
* login/utmp.h: Likewise.
* malloc/malloc.h: Likewise.
* malloc/obstack.h: Likewise.
* math/complex.h: Likewise.
* math/fenv.h: Likewise.
* math/math.h: Likewise.
* md5-crypt/md5.h: Likewise.
* misc/ar.h: Likewise.
* misc/err.h: Likewise.
* misc/error.h: Likewise.
* misc/fstab.h: Likewise.
* misc/libgen.h: Likewise.
* misc/nlist.h: Likewise.
* misc/sys/cdefs.h: Likewise.
* misc/sys/file.h: Likewise.
* misc/sys/ioctl.h: Likewise.
* misc/sys/queue.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/syslog.h: Likewise.
* misc/sys/uio.h: Likewise.
* misc/sysexits.h: Likewise.
* misc/ttyent.h: Likewise.
* nss/nss.h: Likewise.
* posix/fnmatch.h: Likewise.
* posix/getopt.h: Likewise.
* posix/glob.h: Likewise.
* posix/regex.h: Likewise.
* posix/sys/times.h: Likewise.
* posix/sys/types.h: Likewise.
* posix/sys/utsname.h: Likewise.
* posix/sys/wait.h: Likewise.
* posix/tar.h: Likewise.
* posix/unistd.h: Likewise.
* posix/wordexp.h: Likewise.
* pwd/pwd.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/resolv.h: Likewise.
* resource/sys/resource.h: Likewise.
* resource/sys/vlimit.h: Likewise.
* resource/sys/vtimes.h: Likewise.
* setjmp/setjmp.h: Likewise.
* shadow/shadow.h: Likewise.
* socket/sys/socket.h: Likewise.
* socket/sys/un.h: Likewise.
* stdlib/exit.h: Likewise.
* stdlib/fmtmsg.h: Likewise.
* stdlib/monetary.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/argz.h: Likewise.
* string/envz.h: Likewise.
* string/memory.h: Likewise.
* string/string.h: Likewise.
* string/strings.h: Likewise.
* sunrpc/rpc/rpc.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/types.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* termios/sys/ttychars.h: Likewise.
* termios/termios.h: Likewise.
* argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
* crypt/sysdeps/unix/crypt_util.c: Likewise.
* dirent/dirent.h: Likewise.
* elf/link.h: Likewise.
* grp/fgetgrent.c: Likewise.
* grp/grp.h: Likewise.
* hurd/hurd/ioctl.h: Likewise.
* inet/getnameinfo.c: Likewise.
* inet/getnetgrent_r.c: Likewise.
* inet/inet_ntoa.c: Likewise.
* inet/netinet/in.h: Likewise.
* io/fcntl.h: Likewise.
* io/ftw.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/utime.h: Likewise.
* libio/_G_config.h: Likewise.
* libio/libio.h: Likewise.
* libio/libioP.h: Likewise.
* libio/stdio.h: Likewise.
* linuxthreads/lockfile.c: Likewise.
* linuxthreads/semaphore.h: Likewise.
* locale/duplocale.c: Likewise.
* locale/freelocale.c: Likewise.
* locale/lc-time.c: Likewise.
* locale/setlocale.c: Likewise.
* login/getutent_r.c: Likewise.
* login/getutid_r.c: Likewise.
* login/getutline_r.c: Likewise.
* login/lastlog.h: Likewise.
* login/pty.h: Likewise.
* login/utmp.h: Likewise.
* login/utmpname.c: Likewise.
* malloc/mtrace.c: Likewise.
* malloc/thread-m.h: Likewise.
* math/complex.h: Likewise.
* math/fenv.h: Likewise.
* math/libm-test.c: Likewise.
* math/math.h: Likewise.
* misc/sgtty.h: Likewise.
* misc/stab.h: Likewise.
* misc/sys/ioctl.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/uio.h: Likewise.
* misc/sys/ustat.h: Likewise.
* misc/syslog.c: Likewise.
* nis/nss_compat/compat-grp.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.
* nss_nisplus/nisplus-alias.c: Likewise.
* nis/nss_nisplus/nisplus-ethers.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Likewise.
* nis/nss_nisplus/nisplus-hosts.c: Likewise.
* nis/nss_nisplus/nisplus-netgrp.c: Likewise.
* nis/nss_nisplus/nisplus-netgrp.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
* nis/nss_nisplus/nisplus-spwd.c: Likewise.
* nis/ypclnt.c: Likewise.
* nss/getXXbyYY.c: Likewise.
* nss/getXXent.c: Likewise.
* nss/getXXent_r.c: Likewise.
* nss/nss_db/db-XXX.c: Likewise.
* nss/nss_db/db-alias.c: Likewise.
* nss/nss_db/db-netgrp.c: Likewise.
* nss/nss_files/files-XXX.c: Likewise.
* nss/nss_files/files-alias.c: Likewise.
* nss/nsswitch.c: Likewise.
* posix/sched.h: Likewise.
* posix/sys/types.h: Likewise.
* posix/sys/utsname.h: Likewise.
* posix/sys/wait.h: Likewise.
* posix/unistd.h: Likewise.
* pwd/fgetpwent.c: Likewise.
* pwd/pwd.h: Likewise.
* resource/sys/resource.h: Likewise.
* setjmp/setjmp.h: Likewise.
* shadow/fgetspent.c: Likewise.
* shadow/lckpwdf.c: Likewise.
* shadow/sgetspent.c: Likewise.
* signal/signal.h: Likewise.
* signal/sigsetops.c: Likewise.
* socket/sys/socket.h: Likewise.
* socket/sys/un.h: Likewise.
* stdio/stdio.h: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdio-common/vfscanf.c: Likewise.
* stdlib/atexit.c: Likewise.
* stdlib/fmtmsg.c: Likewise.
* stdlib/random.c: Likewise.
* string/endian.h: Likewise.
* sysdeps/alpha/w_sqrt.S: Likewise.
* sysdeps/arm/__longjmp.S: Likewise.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/generic/abort.c: Likewise.
* sysdeps/generic/netinet/ip.h: Likewise.
* sysdeps/generic/setenv.c: Likewise.
* generic/sys/mman.h: Likewise.
* sysdeps/i386/__longjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/mach/hurd/dirstream.h: Likewise.
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
* sysdeps/posix/mk-stdiolim.c: Likewise.
* sysdeps/powerpc/__longjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/sparc/__longjmp.S: Likewise.
* sysdeps/sparc/setjmp.S: Likewise.
* sysdeps/standalone/close.c: Likewise.
* sysdeps/standalone/filedesc.h: Likewise.
* sysdeps/standalone/open.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
* sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
* sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/vax/sysdep.S: Likewise.
* sysdeps/unix/dirstream.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/mips/sysdep.S: Likewise.
* sysdeps/unix/mk-local_lim.c: Likewise.
* sysdeps/unix/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
* sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
* sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
* sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
* sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
* sysvipc/sys/ipc.h: Likewise.
* sysvipc/sys/msg.h: Likewise.
* sysvipc/sys/sem.h: Likewise.
* sysvipc/sys/shm.h: Likewise.
* termios/termios.h: Likewise.
* time/localtime.c: Likewise.
* time/sys/time.h: Likewise.
* time/time.h: Likewise.
* time/tzset.c: Likewise.
* sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
* Makefile (headers): foo.h -> bits/foo.h.
* dirent/Makefile: Likewise.
* elf/Makefile: Likewise.
* io/Makefile: Likewise.
* linuxthreads/Makefile: Likewise.
* linuxthreads/sysdeps/pthread/Makefile: Likewise.
* login/Makefile: Likewise.
* math/Makefile: Likewise.
* misc/Makefile: Likewise.
* posix/Makefile: Likewise.
* resource/Makefile: Likewise.
* setjmp/Makefile: Likewise.
* signal/Makefile: Likewise.
* socket/Makefile: Likewise.
* stdio-common/Makefile: Likewise.
* sysdeps/unix/sysv/linux/Makefile: Likewise.
* sysvipc/Makefile: Likewise.
* termios/Makefile: Likewise.
* time/Makefile: Likewise.
* sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
* sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
* sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
ioctls.h, termbits.h.
* sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
-> kernel_termios.h, sys/socketcall.h -> socketcall.h
* elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
for getting the proper length on the ELF types to be friendly to
non-gcc compilers.
* posix/sys/types.h: Notice when int8_t and friends are defined
and don't redefine them.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
via <signal.h> instead.
* sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
1997-06-20 17:59 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>
* hurd/intr-msg.c: More 64bit changes.
* mach/msg-destroy.c: Likewise.
* sysdeps/mach/hurd/ioctl.c: Likewise.
* sysdeps/mach/hurd/ioctls.h: Likewise.
* sysdeps/mach/hurd/select.c: Likewise.
* sysdeps/mach/hurd/statbuf.h: Likewise.
* sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
* sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
* sysdeps/mach/hurd/mips/init-fault.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
* sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
* sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
* sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
* sysdeps/mach/hurd/mips/trampoline.c: Likewise.
* sysdeps/mach/mips/cacheflush.c: Likewise.
* sysdeps/mach/mips/machine-lock.h: Likewise.
* sysdeps/mach/mips/machine-sp.h: Likewise.
* sysdeps/mach/mips/syscall.S: Likewise.
* sysdeps/mach/mips/sysdep.h: Likewise.
* sysdeps/mach/mips/thread_state.h: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mips/dl-machine.h: MIPS changes.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/mips/init-first.c: Likewise.
* sysdeps/mips/fpu_control.h: Likewise.
* sysdeps/mips/machine-gmon.h: Likewise.
* sysdeps/mips/jmp_buf.h: Likewise.
* sysdeps/mips/__longjmp.c: Likewise.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/bsd-setjmp.S: Likewise.
* sysdeps/mips/setjmp.S: Likewise.
* sysdeps/mips/setjmp_aux.c: Likewise.
* sysdeps/mips/mips64/gmp-mparam.h: Likewise.
* sysdeps/mips/add_n.S: New file.
* sysdeps/mips/addmul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/sub_n.S: Likewise.
* sysdeps/mips/submul_1.S: Likewise.
* sysdeps/mips/mips64/Implies: Likewise.
* sysdeps/mips/mips64/add_n.S: Likewise.
* sysdeps/mips/mips64/addmul_1.S: Likewise.
* sysdeps/mips/mips64/lshift.S: Likewise.
* sysdeps/mips/mips64/mul_1.S: Likewise.
* sysdeps/mips/mips64/rshift.S: Likewise.
* sysdeps/mips/mips64/sub_n.S: Likewise.
* sysdeps/mips/mips64/submul_1.S: Likewise.
* sysdeps/mips/add_n.S: Removed.
* sysdeps/mips/addmul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/sub_n.S: Likewise.
* sysdeps/mips/submul_1.S: Likewise.
* nss/Makefile: Prepare for static NSS.
* resolv/Makefile: Likewise.
* nss/nsswitch.c: Add code for static NSS.
* nss/function.def: Define functions for static NSS.
1997-06-19 11:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libc.map: Add yet more symbols.
1997-06-19 20:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
as object name to _dl_signal_error.
(do_lookup): Skip objects that could not be opened.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
symbol was found.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
1997-06-20 03:13 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>
* ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
assumed.
* ctype/ctype.h: Likewise.
* math/math_private.h: Likewise.
* inet/netinet/in.h: Likewise.
* wctype/wctype.h: Likewise.
* nss/Makefile: Only inhibit nss_files and nss_db modules if static
NSS modules are not enabled.
* resolv/Makefile: Likewise for nss_dns.
* nss/function.def: New file. List all available lookup functions
for static NSS.
* nss/nsswitch.c: Add code for static NSS.
1997-06-15 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (gamma_test): Test for _SVID_ and for normal
behaviour.
1997-06-15 20:32 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm.map: Add all necessary functions, correct existing entries.
1997-06-20 02:35 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
1997-06-19 18:43 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
Compare pointer with NULL.
* login/logout.c (logout): Compare pututline result with NULL.
* inet/rcmd.c: Correct a few typos. Reported by Erik Troan.
1997-06-21 02:59:26 +00:00
Ulrich Drepper
c84142e8fe
Update to 2.1.x development version
...
1997-02-15 02:41 Miles Bader <miles@gnu.ai.mit.edu>
* argp/argp-help.c: Gettextize sources.
* argp/argp-parse.c: Likewise.
1997-02-13 22:32 Ulrich Drepper <drepper@cygnus.com>
* features.h (__GLIBC_MINOR__): Bump to 1.
* xlocale.h: New file. Wrapper around locale/xlocale.h.
* Makefile (distribute): Add xlocale.h.
* locale/Makefile (routines): Add ctype_l.
* locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
Add __isblank_l, __toascii_l and __isascii_l.
* ctype/ctype.h: Add definitions and declarations for *_l functions.
* locale/Makefile (headers): Add xlocale.h.
(routines): Add newlocale, duplocale, and freelocale.
* locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
(struct locale_data): Add new fields mmaped and usage_count.
Correct various declarations.
* locale/C-collate.c: Define value for new fields mmaped and
usage_count.
* locale/C-ctype.c: Likewise.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-time.c: Likewise.
* locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
usage_count fields.
* locale/locale.h: Don't define locale_t here (moved to xlocale.h).
Correct prototypes for __newlocale and __freelocale.
Add prototype for __duplocale.
* locale/findlocale.c (copy): Remove function. Use __strdup instead.
(_nl_remove_locale): New function.
* locale/nl_langinfo.c: Don't declare locale_data objects as const.
* locale/setlocale.c: Likewise.
* locale/weight.h: Change for use with locale objects.
* locale/xlocale.h: New file. Define __locale_t type.
* locale/newlocale.c: New file. Create new locale object.
* locale/freelocale.c: New file. Destroy locale object.
* locale/duplocale.c: New file. Create copy of locale object.
* stdlib/Makefile (routines): Add strfmon_l.
* stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
* stdlib/strfmon.c: Add support for use in extended locale model.
* stdlib/strfmon_l.c: New file.
* string/Makefile (routines): Add strcoll_l and strxfrm_l.
* string/strcoll.c: Change for use in extended locale model.
* string/strxfrm.c: Likewise.
* string/strcoll_l.c: New file. Implement __strcoll_l function.
* string/strxfrm_l.c: New file. Implement __strxfrm_l function.
* wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
* wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
* wcsmbs/wcscoll.c: Change for use in extended locale model.
* wcsmbs/wcscoll_l.c: New file. Implement __wcscoll_l function.
* wcsmbs/wcsxfrm_l.c: New file. Implement __wcsxfrm_l function.
* wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
and towctrans_l.
* wctype/cname-lookup.h: Prepare for use in extended locale model.
* wctype/iswctype_l.c: New file. Implement character classification
functions for use with locale objects.
* wctype/wctype.h: Declare functions for use with locale objects.
* wctype/towctrans_l.c: New file. Implement __towctrans_l function
for use with locale objects.
* wctype/wcfuncs_l.c: New file. Implement wide character
classification functions for use with locale objects.
* wctype/wcextra.c: New file. Implement real functions for
non-standard classification functions.
* elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
parameters to ld.so. Use environment variables.
* elf/ldd.sh.in: Likewise.
* elf/rtld.c: Remove handling of --data-relocs and --function-relocs
options. Instead read environment variables.
* elf/link.h (receiver_fct): Add new argument to take error code.
* elf/dl-error.c (_dl_signal_error): Call receiver function with
another argument.
* elf/dl-object.c (_dl_new_object): Create new object with list of
names in l_libname member.
* elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
find to object to the list in the link_map variable.
(_dl_map_object): Use _dl_does_name_match_p to compare with all
available names of the object.
Optimize handling of LD_LIBRARY_PATH a bit.
* elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
* elf/dl-lookup.c (_dl_elf_hash): Optimize function.
* elf/Makefile (routines): Add dl-version.
* elf/link.h (hash_name_pair): New type. Group pointer to string
and its hash value.
(struct link_map): Change l_libname member to be a list of names,
not a single pointer to a name.
Add new members l_nversions and l_versions.
(_dl_does_name_match_p): New function to test for all names of an
object.
Add prototypes for new lookup and versioning functions.
* elf/dl-lookup.c (do_lookup): Add new argument and handle case
when versioned symbol is requested.
(_dl_lookup_symbol): Call do_lookup with another argument.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): New function. Handle lookup of
versioned symbol.
(_dl_lookup_versioned_symbol_skip): Likewise, similar to
_dl_lookup_symbol_skip.
* elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
_dl_lookup_symbol depending on availability of version information.
* elf/dl-runtime.c (RESOLVE): Likewise.
(fixup): Call elf_machine_relplt with additional argument to point
to versioning information if available.
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
* elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
for correct versions.
* elf/dl-version.c: New file. Check library versions and extract
version information for easier access.
* elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
* elf/dlvsym.c: New file. Implementation of function similar to
dlsym, but looks for versioned symbol.
* elf/elf.h: Add types and macros for versioning.
* elf/rtld.c (dl_main): Check availability of needed versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
argument for version information. Call RESOLVE with additional
argument.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
* elf/dlerror.c: Change comment to align with guidelines.
* elf/dlopen.c: Likewise.
* elf/dlsym.c: Likewise.
* locale/programs/localedef.c: Implement --quiet option.
* locale/programs/charset.h: Declare be_quiet variable.
* locale/programs/locfile.h: Likewise.
* locale/programs/charmap.c: Don't print warnings if quiet option
was given.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/locfile.c: Likewise.
* Makefile (subdirs): Add argp.
* catgets/catgets.c (catopen): Little code improvement.
* posix/execl.c: Remove restriction to 1024 arguments.
* posix/execle.c: Likewise.
* posix/execlp.c: Likewise.
* posix/getopt.c [_LIBC]: Define global objects with __ prefix
and make regular names weak aliases.
* posix/getopt1.c: Likewise.
* posix/getopt.h [_LIBC]: Provide prototypes and declarations for
__ protected forms.
* posix/unistd.h: Add prototype for __sleep.
* sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
* sysdeps/posix/sleep.c: Likewise.
* sysdeps/stub/sleep.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c: Likewise.
* ctype/ctype-info.c: Update copyright.
* ctype/ctype.c: Likewise.
* ctype/test_ctype.c: Likewise.
* dirent/alphasort.c: Likewise.
* dirent/list.c: Likewise.
* gmon/bb_exit_func.c: Likewise.
* grp/fgetgrent.c: Likewise.
* grp/getgrent.c: Likewise.
* grp/getgrent_r.c: Likewise.
* grp/getgrgid.c: Likewise.
* grp/getgrgid_r.c: Likewise.
* grp/getgrnam.c: Likewise.
* grp/getgrnam_r.c: Likewise.
* hurd/alloc-fd.c: Likewise.
* hurd/catch-exc.c: Likewise.
* hurd/ctty-input.c: Likewise.
* hurd/ctty-output.c: Likewise.
* hurd/dtable.c: Likewise.
* hurd/fchroot.c: Likewise.
* hurd/fd-close.c: Likewise.
* hurd/fd-read.c: Likewise.
* hurd/fd-write.c: Likewise.
* hurd/fopenport.c: Likewise.
* hurd/get-host.c: Likewise.
* hurd/getdport.c: Likewise.
* hurd/getuids.c: Likewise.
* hurd/getumask.c: Likewise.
* hurd/hurd-raise.c: Likewise.
* hurd/hurd.h: Likewise.
* hurd/hurdauth.c: Likewise.
* hurd/hurdexec.c: Likewise.
* hurd/hurdhost.h: Likewise.
* hurd/hurdid.c: Likewise.
* hurd/hurdinit.c: Likewise.
* hurd/hurdioctl.c: Likewise.
* hurd/hurdkill.c: Likewise.
* hurd/hurdlookup.c: Likewise.
* hurd/hurdmsg.c: Likewise.
* hurd/hurdpid.c: Likewise.
* hurd/hurdports.c: Likewise.
* hurd/hurdprio.c: Likewise.
* hurd/hurdrlimit.c: Likewise.
* hurd/hurdsock.c: Likewise.
* hurd/hurdstartup.c: Likewise.
* hurd/hurdstartup.h: Likewise.
* hurd/intern-fd.c: Likewise.
* hurd/intr-msg.c: Likewise.
* hurd/intr-rpc.defs: Likewise.
* hurd/intr-rpc.h: Likewise.
* hurd/msgportdemux.c: Likewise.
* hurd/new-fd.c: Likewise.
* hurd/openport.c: Likewise.
* hurd/pid2task.c: Likewise.
* hurd/port-cleanup.c: Likewise.
* hurd/port2fd.c: Likewise.
* hurd/ports-get.c: Likewise.
* hurd/ports-set.c: Likewise.
* hurd/privports.c: Likewise.
* hurd/report-wait.c: Likewise.
* hurd/set-host.c: Likewise.
* hurd/setauth.c: Likewise.
* hurd/setuids.c: Likewise.
* hurd/siginfo.c: Likewise.
* hurd/sigunwind.c: Likewise.
* hurd/task2pid.c: Likewise.
* hurd/thread-cancel.c: Likewise.
* hurd/thread-self.c: Likewise.
* hurd/vpprintf.c: Likewise.
* hurd/hurd/fd.h: Likewise.
* hurd/hurd/id.h: Likewise.
* hurd/hurd/ioctl.h: Likewise.
* hurd/hurd/lookup.h: Likewise.
* hurd/hurd/port.h: Likewise.
* hurd/hurd/resource.h: Likewise.
* hurd/hurd/threadvar.h: Likewise.
* hurd/hurd/userlink.h: Likewise.
* inet/ether_aton.c: Likewise.
* inet/ether_aton_r.c: Likewise.
* inet/ether_ntoa.c: Likewise.
* inet/ether_ntoa_r.c: Likewise.
* inet/gethstbyad.c: Likewise.
* inet/gethstbyad_r.c: Likewise.
* inet/gethstent.c: Likewise.
* inet/getnetbyad.c: Likewise.
* inet/getnetbyad_r.c: Likewise.
* inet/getnetbynm.c: Likewise.
* inet/getnetbynm_r.c: Likewise.
* inet/getnetent.c: Likewise.
* inet/getnetent_r.c: Likewise.
* inet/getproto.c: Likewise.
* inet/getproto_r.c: Likewise.
* inet/getprtent.c: Likewise.
* inet/getprtent_r.c: Likewise.
* inet/getprtname.c: Likewise.
* inet/getrpcbyname.c: Likewise.
* inet/getrpcbyname_r.c: Likewise.
* inet/getrpcbynumber.c: Likewise.
* inet/getrpcbynumber_r.c: Likewise.
* inet/getrpcent.c: Likewise.
* inet/getrpcent_r.c: Likewise.
* inet/getservent.c: Likewise.
* inet/getservent_r.c: Likewise.
* inet/getsrvbynm.c: Likewise.
* inet/getsrvbynm_r.c: Likewise.
* inet/getsrvbypt.c: Likewise.
* inet/getsrvbypt_r.c: Likewise.
* inet/herrno.c: Likewise.
* inet/netgroup.h: Likewise.
* ient/netinet/ether.h: Likewise.
* intl/bindtextdom.c: Likewise.
* intl/dcgettext.c: Likewise.
* intl/dgettext.c: Likewise.
* intl/gettext.c: Likewise.
* intl/gettext.h: Likewise.
* intl/gettextP.h: Likewise.
* intl/hash-string.h: Likewise.
* intl/loadmsgcat.c: Likewise.
* intl/localealias.c: Likewise.
* intl/textdomain.c: Likewise.
* io/creat.c: Likewise.
* io/getdirname.c: Likewise.
* io/lockf.c: Likewise.
* io/pwd.c: Likewise.
* io/test-utime.c: Likewise.
* locale/categories.def: Likewise.
* locale/codeset_name.c: Likewise.
* locale/lc-collate.c: Likewise.
* locale/lc-ctype.c: Likewise.
* locale/lc-messages.c: Likewise.
* locale/lc-monetary.c: Likewise.
* locale/lc-numeric.c: Likewise.
* locale/lc-time.c: Likewise.
* locale/loadlocale.c: Likewise.
* locale/localeconv.c: Likewise.
* locale/nl_langinfo.c: Likewise.
* locale/setlocale.c: Likewise.
* locale/strlen-hash.h: Likewise.
* locale/programs/charmap-kw.gperf: Likewise.
* locale/programs/charmap-kw.h: Likewise.
* locale/programs/charset.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/linereader.h: Likewise.
* locale/programs/locale-spec.c: Likewise.
* locale/programs/locales.h: Likewise.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-kw.h: Likewise.
* locale/programs/locfile-token.h: Likewise.
* locale/programs/simple-hash.h: Likewise.
* locale/programs/stringtrans.c: Likewise.
* locale/programs/stringtrans.h: Likewise.
* login/logout.c: Likewise.
* mach/bootprivport.c: Likewise.
* mach/devstream.c: Likewise.
* mach/hello.c: Likewise.
* mach/mach.h: Likewise.
* mach/mach_init.c: Likewise.
* mach/mach_init.h: Likewise.
* mach/mig-alloc.c: Likewise.
* mach/mig-dealloc.c: Likewise.
* mach/mutex-init.c: Likewise.
* mach/mutex-solid.c: Likewise.
* mach/setup-thread.c: Likewise.
* mach/spin-lock.h: Likewise.
* mach/spin-solid.c: Likewise.
* mach/mach/mig_support.h: Likewise.
* md5-crypt/md5-crypt.c: Likewise.
* misc/nlist.h: Likewise.
* nss/nss_files/files-ether.c: Likewise.
* posix/confstr.c: Likewise.
* posix/execl.c: Likewise.
* posix/execle.c: Likewise.
* posix/execlp.c: Likewise.
* posix/execv.c: Likewise.
* posix/execvp.c: Likewise.
* posix/fnmatch.c: Likewise.
* posix/getopt.c: Likewise.
* posix/getopt.h: Likewise.
* posix/getopt1.c: Likewise.
* posix/id.c: Likewise.
* posix/regex.c: Likewise.
* posix/setpgrp.c: Likewise.
* posix/unistd.h: Likewise.
* posix/wordexp.c: Likewise.
* pwd/fgetpwent.c: Likewise.
* pwd/getpwent.c: Likewise.
* pwd/getpwent_r.c: Likewise.
* pwd/getpwnam.c: Likewise.
* pwd/getpwnam_r.c: Likewise.
* pwd/getpwuid.c: Likewise.
* pwd/getpwuid_r.c: Likewise.
* pwd/putpwent.c: Likewise.
* resolv/gethnamaddr.c: Likewise.
* resolv/res_hconf.c: Likewise.
* resolv/res_hconf.h: Likewise.
* setjmp/longjmp.c: Likewise.
* setjmp/sigjmp.c: Likewise.
* setjmp/tst-setjmp.c: Likewise.
* stdio/clearerr.c: Likewise.
* stdio/ferror.c: Likewise.
* stdio/fgetc.c: Likewise.
* stdio/fgetpos.c: Likewise.
* stdio/fgets.c: Likewise.
* stdio/fileno.c: Likewise.
* stdio/fmemopen.c: Likewise.
* stdio/fopen.c: Likewise.
* stdio/fopncook.c: Likewise.
* stdio/fputc.c: Likewise.
* stdio/fputs.c: Likewise.
* stdio/fread.c: Likewise.
* stdio/freopen.c: Likewise.
* stdio/fseek.c: Likewise.
* stdio/fsetpos.c: Likewise.
* stdio/ftell.c: Likewise.
* stdio/fwrite.c: Likewise.
* stdio/getchar.c: Likewise.
* stdio/getdelim.c: Likewise.
* stdio/gets.c: Likewise.
* stdio/glue.c: Likewise.
* stdio/internals.c: Likewise.
* stdio/linewrap.c: Likewise.
* stdio/linewrap.h: Likewise.
* stdio/memstream.c: Likewise.
* stdio/newstream.c: Likewise.
* stdio/putchar.c: Likewise.
* stdio/puts.c: Likewise.
* stdio/rewind.c: Likewise.
* stdio/setbuf.c: Likewise.
* stdio/setbuffer.c: Likewise.
* stdio/setlinebuf.c: Likewise.
* stdio/setvbuf.c: Likewise.
* stdio/ungetc.c: Likewise.
* stdio/vasprintf.c: Likewise.
* stdio/vscanf.c: Likewise.
* stdio/vsnprintf.c: Likewise.
* stdio/vsprintf.c: Likewise.
* stdio/vsscanf.c: Likewise.
* stdio-common/asprintf.c: Likewise.
* stdio-common/dprintf.c: Likewise.
* stdio-common/errnobug.c: Likewise.
* stdio-common/fprintf.c: Likewise.
* stdio-common/getline.c: Likewise.
* stdio-common/getw.c: Likewise.
* stdio-common/perror.c: Likewise.
* stdio-common/psignal.c: Likewise.
* stdio-common/putw.c: Likewise.
* stdio-common/reg-printf.c: Likewise.
* stdio-common/scanf.c: Likewise.
* stdio-common/snprintf.c: Likewise.
* stdio-common/sprintf.c: Likewise.
* stdio-common/tempnam.c: Likewise.
* stdio-common/test_rdwr.c: Likewise.
* stdio-common/tst-fileno.c: Likewise.
* stdio-common/tst-printf.c: Likewise.
* stdio-common/tstgetln.c: Likewise.
* stdio-common/vprintf.c: Likewise.
* stdlib/drand48.c: Likewise.
* stdlib/drand48_r.c: Likewise.
* stdlib/erand48.c: Likewise.
* stdlib/erand48_r.c: Likewise.
* stdlib/exit.h: Likewise.
* stdlib/strtoq.c: Likewise.
* stdlib/strtoul.c: Likewise.
* stdlib/strtouq.c: Likewise.
* stdlib/test-canon.c: Likewise.
* stdlib/testdiv.c: Likewise.
* stdlib/testrand.c: Likewise.
* string/argz-append.c: Likewise.
* string/argz-count.c: Likewise.
* string/argz-create.c: Likewise.
* string/argz-ctsep.c: Likewise.
* string/argz-delete.c: Likewise.
* string/argz-extract.c: Likewise.
* string/argz-insert.c: Likewise.
* string/argz-next.c: Likewise.
* string/argz-stringify.c: Likewise.
* string/basename.c: Likewise.
* string/envz.c: Likewise.
* string/memfrob.c: Likewise.
* string/strcoll.c: Likewise.
* string/strdup.c: Likewise.
* string/string.h: Likewise.
* string/strndup.c: Likewise.
* string/strnlen.c: Likewise.
* string/strsignal.c: Likewise.
* string/strxfrm.c: Likewise.
* string/test-ffs.c: Likewise.
* string/testcopy.c: Likewise.
* sysdeps/generic/enbl-secure.c: Likewise.
* sysdeps/generic/memcopy.h: Likewise.
* sysdeps/generic/stpncpy.c: Likewise.
* sysdeps/generic/strcasecmp.c: Likewise.
* sysdeps/generic/strcat.c: Likewise.
* sysdeps/generic/strchr.c: Likewise.
* sysdeps/generic/strcpy.c: Likewise.
* sysdeps/generic/strcspn.c: Likewise.
* sysdeps/generic/strlen.c: Likewise.
* sysdeps/generic/strncase.c: Likewise.
* sysdeps/generic/strncat.c: Likewise.
* sysdeps/generic/strncpy.c: Likewise.
* sysdeps/generic/strpbrk.c: Likewise.
* sysdeps/generic/strsep.c: Likewise.
* sysdeps/generic/strspn.c: Likewise.
* sysdeps/generic/strstr.c: Likewise.
* sysdeps/generic/strtok.c: Likewise.
* sysdeps/generic/strtok_r.c: Likewise.
* sysdeps/mach/sleep.c: Likewise.
* sysdeps/posix/sleep.c: Likewise.
* sysdeps/stub/sleep.c: Likewise.
* time/date.c: Likewise.
* time/test_time.c: Likewise.
* wcsmbs/wmemcpy.c: Likewise.
* wctye/test_wctype.c: Likewise.
* wctye/towctrans.c: Likewise.
* wctye/wcfuncs.c: Likewise.
* wctye/wctrans.c: Likewise.
1997-02-13 22:15 Miles Bader <miles@gnu.ai.mit.edu>
* argp/Makefile: New file.
* argp/argp.h: Likewise.
* argp/argp-ba.c: Likewise.
* argp/argp-fmtstream.c: Likewise.
* argp/argp-fmtstream.h: Likewise.
* argp/argp-fs-xinl.c: Likewise.
* argp/argp-help.c: Likewise.
* argp/argp-namefrob.h: Likewise.
* argp/argp-parse.c: Likewise.
* argp/argp-pv.c: Likewise.
* argp/argp-pvh.c: Likewise.
* argp/argp-test.c: Likewise.
* argp/argp-xinl.c: Likewise.
* libio/_G_config.h: Make sure wint_t is also defined for old gcc
1997-02-09 04:35 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/_itoa.h: Update copyright.
1997-02-15 04:31:36 +00:00
Roland McGrath
b18c76e9f5
(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
1996-02-01 01:08:12 +00:00
Roland McGrath
fb8e70d6dd
Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
...
* hurd/catch-signal.c: New file.
* hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
* hurd/hurdsig.c: Use new hurdfault.h interface.
(abort_all_rpcs): Mutate return value to EINTR in threads whose
replies we will wait for.
* hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
do ourselves last.
Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
* sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
to auth_makeauth() in the right order.
Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/strsep.c: Rewritten.
* sysdeps/mach/hurd/fork.c: Use a different workaround for the
suspended page fault deadlock kernel bug: thread_abort our signal
thread first thing after proc_dostop.
* sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
recognize rootness properly.
* hurd/hurdsig.c: Use new signal preemption interface.
1996-01-04 10:00:22 +00:00
Roland McGrath
44c8d1a2a8
Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
...
* libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
for a warning on references to that specific symbol, not the
entire containing object file.
(stub_warning): Pass symbol name to link_warning.
* stdio/gets.c: Pass function name in link_warning invocation.
* hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
sent, but failed.
* stdlib/msort.c: Include memcopy.h.
(msort_with_tmp): If operating on aligned op_t words, use direct word
fetches and stores.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
missing backslash.
1995-09-01 22:25:08 +00:00
Roland McGrath
a993273c0d
Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
...
* sysdeps/mach/hurd/select.c: Deal with out of order replies
during io_select request loop.
Handle MACH_RCV_TIMED_OUT error from requests.
* hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
distinguish MACH_RCV_TIMED_OUT from EINTR.
* posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
slash.
(glob_in_dir): Don't allocate extra byte here.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
Decrement the DT_RELSZ value for the skipped reloc.
1995-08-31 00:02:32 +00:00
Roland McGrath
3fe9de0da5
Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
...
* hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
"intr-msg.h" for special syscall code, instead of i386-specific asm.
* hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
machine-dependent "intr-msg.h" before mutating thread state to
skip RPC.
* sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
_hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
%ecx.
* Makeconfig (link-libc): New variable; use shared library if
available.
(+link): Use it.
* sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
Instead, declare with `symbol_set_declare'.
(fork): Use symbol_set_* macros for _hurd_fork_locks.
Use SS->thread instead of __mach_thread_self (). Suspend all
other threads during task_create and port copying.
1995-08-17 22:55:22 +00:00