]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Mon, 19 Oct 1998 00:45:33 +0000 (00:45 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 19 Oct 1998 00:45:33 +0000 (00:45 +0000)
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_DL_ERROR.

* hurd/Makefile (user-interfaces): Add login, password.

* sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.

ChangeLog
hurd/Makefile
hurd/hurd/threadvar.h
sysdeps/mach/hurd/Makefile

index 29b0976d8c105d1fed92c1d1708605cdbb00887b..f0da07fdf8aaa0268cb40f4496bdc92088dc5f88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
+       _HURD_THREADVAR_DL_ERROR.
+
+       * hurd/Makefile (user-interfaces): Add login, password.
+
+       * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
+
 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
 
        [submitted 1998-08-06]
index 441c66c78c754d2c6a4f40f699d161bb05480ea4..85aa30ab88ce9fb7602e8437b808e5cdb90afb20 100644 (file)
@@ -35,7 +35,9 @@ user-interfaces               := $(addprefix hurd/,\
                                       process process_request \
                                       msg msg_reply msg_request \
                                       exec exec_startup crash interrupt \
-                                      fs fsys io term tioctl socket ifsock)
+                                      fs fsys io term tioctl socket ifsock \
+                                      login password \
+                                      )
 server-interfaces      := hurd/msg faultexc
 
 routines = hurdstartup hurdinit \
index b10efe9ada65296b8c256fe67769a7989e8b40aa..55cb5af3e822504794332f3d81e444f7d946af0c 100644 (file)
@@ -1,5 +1,5 @@
 /* Internal per-thread variables for the Hurd.
-   Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1994, 95, 97, 98 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
@@ -61,6 +61,7 @@ enum __hurd_threadvar_index
     _HURD_THREADVAR_SIGSTATE,  /* This thread's `struct hurd_sigstate'.  */
     _HURD_THREADVAR_DYNAMIC_USER, /* Dynamically-assigned user variables. */
     _HURD_THREADVAR_MALLOC,    /* For use of malloc. */
+    _HURD_THREADVAR_DL_ERROR,  /* For use of -ldl and dynamic linker. */
     _HURD_THREADVAR_MAX                /* Default value for __hurd_threadvar_max.  */
   };
 
index 42e9a79e7bdbcc6c88a8fce451959467315de556..f87f530d520f5f723c0c66a4699b28d382157e77 100644 (file)
@@ -25,6 +25,10 @@ subdirs := $(filter-out sunrpc,$(subdirs)) # XXX skip broken dirs
 # Look for generated header files where they get created.
 includes += -I$(..)hurd -I$(common-objpfx)hurd/
 
+# We use the style `if (err = call(...))' a lot in the Hurd code,
+# where we have a lot of functions that return zero or an errno code.
++cflags += -Wno-parentheses
+
 # Do not use any assembly code from sysdeps/unix (and subdirectories).
 # This bypasses all the system call stubs and uses any existing posix or
 # generic C files instead.