Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 31 Jan 1998 16:00:06 +0000 (16:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 31 Jan 1998 16:00:06 +0000 (16:00 +0000)
1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>

* grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
getgrgid_r.c if thread package is available.
* pwd/Makefile: Likewise.
* grp/getgrnam_r.c: Remove USE_NSCD definition.
* grp/getgrgid_r.c: Likewise.
* pwd/getpwnam_r.c: Likewise.
* pwd/getpwuid_r.c: Likewise.

1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXbyYY_r.c: If NSS function reports too small buffer return
with error to allow user intervention.
* nss/getXXent_r.c: Likewise.

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.

ChangeLog
grp/Makefile
grp/getgrgid_r.c
grp/getgrnam_r.c
pwd/Makefile
pwd/getpwnam_r.c
pwd/getpwuid_r.c

index 890652d..9a56608 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
+
+       * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
+       getgrgid_r.c if thread package is available.
+       * pwd/Makefile: Likewise.
+       * grp/getgrnam_r.c: Remove USE_NSCD definition.
+       * grp/getgrgid_r.c: Likewise.
+       * pwd/getpwnam_r.c: Likewise.
+       * pwd/getpwuid_r.c: Likewise.
+
+1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
+
+       * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
+       with error to allow user intervention.
+       * nss/getXXent_r.c: Likewise.
+
 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
@@ -6,7 +22,7 @@
        * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
        (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
        * sysdeps/generic/dl-procinfo.h: New file.
-       * sysdeps/unix/sysv/linux/dl-procinfo.h: New file.
+       * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
 
 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
 
index 8c63a4c..7f2734e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1992, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1991, 1992, 1996, 1997, 1998 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
@@ -29,3 +29,11 @@ routines := fgetgrent initgroups setgroups \
 tests := testgrp
 
 include ../Rules
+
+# We can later add the names of other thread packages here.
+ifeq (,$(findstring linuxthreads,$(add-ons)))
+
+CFLAGS-getgrgid_r.c = -DUSE_NSCD=1
+CFLAGS-getgrnam_r.c = -DUSE_NSCD=1
+
+endif
index 8d5122a..3011602 100644 (file)
@@ -26,6 +26,5 @@
 #define ADD_PARAMS     gid_t gid
 #define ADD_VARIABLES  gid
 #define BUFLEN         NSS_BUFLEN_GROUP
-#define USE_NSCD       1
 
 #include <nss/getXXbyYY_r.c>
index ee84cfe..3575e74 100644 (file)
@@ -25,6 +25,5 @@
 #define DATABASE_NAME  group
 #define ADD_PARAMS     const char *name
 #define ADD_VARIABLES  name
-#define USE_NSCD       1
 
 #include <nss/getXXbyYY_r.c>
index 6b3eeab..a5d0d5c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1991, 1996, 1997, 1998 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
@@ -27,3 +27,11 @@ routines := fgetpwent getpw putpwent \
            getpwent_r getpwnam_r getpwuid_r fgetpwent_r
 
 include ../Rules
+
+# We can later add the names of other thread packages here.
+ifeq (,$(findstring linuxthreads,$(add-ons)))
+
+CFLAGS-getpwuid_r.c = -DUSE_NSCD=1
+CFLAGS-getpwnam_r.c = -DUSE_NSCD=1
+
+endif
index 429d3c4..328c305 100644 (file)
@@ -26,6 +26,5 @@
 #define ADD_PARAMS     const char *name
 #define ADD_VARIABLES  name
 #define BUFLEN         NSS_BUFLEN_PASSWD
-#define USE_NSCD       1
 
 #include <nss/getXXbyYY_r.c>
index 18b925b..91bd802 100644 (file)
@@ -26,6 +26,5 @@
 #define ADD_PARAMS     uid_t uid
 #define ADD_VARIABLES  uid
 #define BUFLEN         NSS_BUFLEN_PASSWD
-#define USE_NSCD       1
 
 #include <nss/getXXbyYY_r.c>