]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fri Feb 21 00:22:28 1997 Miles Bader <miles@gnu.ai.mit.edu>
authorMiles Bader <miles@gnu.org>
Sun, 23 Feb 1997 22:08:32 +0000 (22:08 +0000)
committerMiles Bader <miles@gnu.org>
Sun, 23 Feb 1997 22:08:32 +0000 (22:08 +0000)
commit4dea6fa212ba120779f4a1f9237e02b20ab74aa5
tree6b70901056a511bdefbece44bc4dffa2d226eea8
parent5a97622d5e053e935af0a9715ddd941fdaafcaf9
Fri Feb 21 00:22:28 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
than file_get_translator.

* sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
(_cleanup): Use __fcloseall instead of fclose with a NULL stream.

Thu Feb 20 01:28:39 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
* sysdeps/mach/hurd/chroot.c (chroot): Likewise.

Wed Feb 19 13:56:04 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
but ADDR also == 0.

* hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
now instead of a weak extern, as some old programs expect it to be
defined by ld.so.

Tue Feb 18 15:39:08 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.

* sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
__hurd_threadvar_stack_offset): Restore initialized versions, so
startup works correctly.

* malloc/thread-m.h (mutex_trylock): Invert sense of return value.

Mon Feb 17 10:58:14 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
not __mutex_try_lock.
(tsd_setspecific): Cast DATA to (unsigned long) before storing.
(tsd_getspecific): Case variable to (void *) before returning.

* hurd/hurdinit.c (__libc_argv): Remove extern.
(__libc_argc): New variable.

Sat Feb 15 10:23:32 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_MALLOC.
* malloc/thread-m.h
[_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
(__x_mutex_lock, __x_mutex_unlock): Functions removed.
(mutex_lock, mutex_unlock): Defined in terms of __mutex_*.
(tsd_key_create, tsd_setspecific, tsd_setspecific): Change to
hurd-specific definitions, using __hurd_threadvar_location.
(tsd_keys_alloced): New static variable.
<hurd/threadvar.h>: New include.

* hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
(_S_msg_report_wait): Check to see if _hurd_itimer_thread is
defined before using it.

* sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
Make extern.
* hurd/hurdinit.c (__libc_argv): Make extern.

* hurd/getdport.c (_default_hurd_getdport_fn): New variable.
(_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.

* sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
__hurd_threadvar_stack_offset,
__hurd_threadvar_stack_mask): New variables.
* hurd/hurdsig.c (__hurd_sigthread_stack_base,
__hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
New variables (moved here from hurdstartup.c).
* hurd/hurdstartup.c (__hurd_sigthread_stack_base,
__hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
Variables removed (moved to hurdsig.c).
(__hurd_threadvar_max, __hurd_threadvar_stack_offset,
__hurd_threadvar_stack_mask): Variables removed.
* sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
  __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
  __hurd_threadvar_max, __hurd_threadvar_stack_offset,
  __hurd_threadvar_stack_mask): Variables removed.

Fri Feb 14 14:07:19 1997  Miles Bader  <miles@gnu.ai.mit.edu>

* hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
Declare extern.

* malloc/thread-m.h
[_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
(mutex_t): Type removed.
(mutex_t): New macro.
(mutex_trylock): New macro.
(__x_mutex_lock, __x_mutex_unlock): New functions.
(mutex_lock, mutex_unlock): New macros, redefining the behavior of
the cthread definitions.
(tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
(tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
(mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
(__pthread_initialize): New macro, work around assumption of pthreads.

1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>

* locale/weight.h (collate_rules): It's an u_int32_t array.
(get_weight): Compute initial SLOT value correctly.
ChangeLog