+2000-09-03 Ulrich Drepper <drepper@redhat.com>
+
+ * time/sys/time.h (gettimeofday): Move restrict for tz parameter
+ to the typedefs of __timezone_ptr_t.
+ Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
+
+2000-09-02 Jakub Jelinek <jakub@redhat.com>
+
+ * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
+ the loop.
+
+2000-09-01 H.J. Lu <hjl@gnu.org>
+
+ * Makeconfig (built-program-cmd): Don't use the dynamic linker
+ to run a binary if it is in $(tests-static).
+
+ * Rules (binaries-static): Add $(tests-static).
+
2000-09-02 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
+2000-09-03 Mark Kettenis <kettenis@gnu.org>
+
+ * manager.c (pthread_exited): Correctly report event as TD_REAP
+ instead of TD_DEATH. Fix comments.
+
2000-09-03 Ulrich Drepper <drepper@redhat.com>
* spinlock.h (testandset): Add cast to avoid warning.
/* If we have to signal this event do it now. */
if (th->p_report_events)
{
- /* See whether TD_DEATH is in any of the mask. */
+ /* See whether TD_REAP is in any of the mask. */
int idx = __td_eventword (TD_REAP);
uint32_t mask = __td_eventmask (TD_REAP);
if ((mask & (__pthread_threads_events.event_bits[idx]
| th->p_eventbuf.eventmask.event_bits[idx])) != 0)
{
- /* Yep, we have to signal the death. */
- th->p_eventbuf.eventnum = TD_DEATH;
+ /* Yep, we have to signal the reapage. */
+ th->p_eventbuf.eventnum = TD_REAP;
th->p_eventbuf.eventdata = th;
__pthread_last_event = th;
bufferend = (__stpcpy (bufferend, \
tmp_result_buf.h_aliases[cnt]) \
+ 1); \
+ ++cnt; \
} \
\
if (cnt < newaliases) \
};
#if defined __USE_GNU || defined __USE_BSD
-typedef struct timezone *__timezone_ptr_t;
+typedef struct timezone *__restrict __timezone_ptr_t;
#else
-typedef void *__timezone_ptr_t;
+typedef void *__restrict __timezone_ptr_t;
#endif
/* Get the current time of day and timezone information,
NOTE: This form of timezone information is obsolete.
Use the functions and variables declared in <time.h> instead. */
extern int gettimeofday (struct timeval *__restrict __tv,
- __timezone_ptr_t __restrict __tz) __THROW;
+ __timezone_ptr_t __tz) __THROW;
/* Set the current time of day and timezone information.
This call is restricted to the super-user. */