+2005-02-02 Alfred M. Szmidt <ams@gnu.org>
+
+ * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
+ (dtv_t): Change pointer type to be a struct which also contains
+ information whether the memory pointed to is static TLS or not.
+
+ * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
+
+ * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
+ (FALSEP): ... this. Updated all references.
+
+ * libio/fmemopen.c: Include <stdint.h>.
+
2005-01-30 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
struct spent_data {};
/* Predicate which always returns false, needed below. */
-#define FALSE(arg) 0
+#define FALSEP(arg) 0
#include <nss/nss_files/files-parse.c>
INT_FIELD_MAYBE_NULL (result->sp_expire, ISCOLON, 0, 10, (long int),
(long int) -1);
if (*line != '\0')
- INT_FIELD_MAYBE_NULL (result->sp_flag, FALSE, 0, 10,
+ INT_FIELD_MAYBE_NULL (result->sp_flag, FALSEP, 0, 10,
(unsigned long int), ~0ul)
else
result->sp_flag = ~0ul;
/* Definitions for thread-local data handling. Hurd version.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#if defined HAVE_TLS_SUPPORT && !defined ASSEMBLER
# include <stddef.h>
+# include <stdbool.h>
# include <mach/mig_errors.h>
# include <mach.h>
typedef union dtv
{
size_t counter;
- void *pointer;
+ struct
+ {
+ void *val;
+ bool is_static;
+ } pointer;
} dtv_t;