Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 26 Apr 2001 14:11:35 +0000 (14:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 26 Apr 2001 14:11:35 +0000 (14:11 +0000)
* nss_nis/nis-alias.c: Likewise.
* nss_nis/nis-ethers.c: Likewise.
* nss_nis/nis-grp.c: Likewise.
* nss_nis/nis-network.c: Likewise.
* nss_nis/nis-proto.c: Likewise.
* nss_nis/nis-pwd.c: Likewise.
* nss_nis/nis-spwd.c: Likewise.
* nss_compat/compat-grp.c: Likewise.
* nss_compat/compat-initgroups.c: Likewise.
* nss_compat/compat-pwd.c: Likewise.
* nss_compat/compat-spwd.c: Likewise.

22 files changed:
ChangeLog
nis/nss_compat/compat-grp.c
nis/nss_compat/compat-initgroups.c
nis/nss_compat/compat-pwd.c
nis/nss_compat/compat-spwd.c
nis/nss_nis/nis-alias.c
nis/nss_nis/nis-ethers.c
nis/nss_nis/nis-grp.c
nis/nss_nis/nis-network.c
nis/nss_nis/nis-proto.c
nis/nss_nis/nis-pwd.c
nis/nss_nis/nis-spwd.c
nis/nss_nisplus/nisplus-alias.c
nis/nss_nisplus/nisplus-ethers.c
nis/nss_nisplus/nisplus-grp.c
nis/nss_nisplus/nisplus-hosts.c
nis/nss_nisplus/nisplus-network.c
nis/nss_nisplus/nisplus-proto.c
nis/nss_nisplus/nisplus-pwd.c
nis/nss_nisplus/nisplus-rpc.c
nis/nss_nisplus/nisplus-service.c
nis/nss_nisplus/nisplus-spwd.c

index 38b42b360c8d64c9489635ed3da9e9f8e2df1445..23a70f1cc8e236adc4a3c12a9747d22fdf031db6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * nss_nisplus/nisplus-rpc.c: Likewise.
        * nss_nisplus/nisplus-service.c: Likewise.
        * nss_nisplus/nisplus-spwd.c: Likewise.
+       * nss_nis/nis-alias.c: Likewise.
+       * nss_nis/nis-ethers.c: Likewise.
+       * nss_nis/nis-grp.c: Likewise.
+       * nss_nis/nis-network.c: Likewise.
+       * nss_nis/nis-proto.c: Likewise.
+       * nss_nis/nis-pwd.c: Likewise.
+       * nss_nis/nis-spwd.c: Likewise.
+       * nss_compat/compat-grp.c: Likewise.
+       * nss_compat/compat-initgroups.c: Likewise.
+       * nss_compat/compat-pwd.c: Likewise.
+       * nss_compat/compat-spwd.c: Likewise.
 
        * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
        optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
index d2fec68cc362ed2964ee2f7f5c79e7d8c0fd9e92..d05dbaebeea0222ce7a1d81299c5d145d650e9a0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
 
 #include "nss-nisplus.h"
 #include "nisplus-parser.h"
 
-static service_user *ni = NULL;
-static bool_t use_nisplus = FALSE; /* default: group_compat: nis */
-static nis_name grptable = NULL; /* Name of the group table */
-static size_t grptablelen = 0;
+static service_user *ni;
+static bool_t use_nisplus; /* default: group_compat: nis */
+static nis_name grptable; /* Name of the group table */
+static size_t grptablelen;
 
 /* Get the declaration of the parser function.  */
 #define ENTNAME grent
index 558433e0ba25917a1aca3ae91e44124faf5f6f83..171221ea451263627047dcb8b3cde391b134694e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1998.
 
 #include "nss-nisplus.h"
 #include "nisplus-parser.h"
 
-static service_user *ni = NULL;
-static bool_t use_nisplus = FALSE; /* default: group_compat: nis */
-static nis_name grptable = NULL; /* Name of the group table */
-static size_t grptablelen = 0;
+static service_user *ni;
+static bool_t use_nisplus; /* default: group_compat: nis */
+static nis_name grptable; /* Name of the group table */
+static size_t grptablelen;
 
 /* Get the declaration of the parser function.  */
 #define ENTNAME grent
index 8540f5563a761dcec371aa20d71581cb1714b268..5f031571f9a0f983f428d4b8a1ad8b766c1f12a3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1996.
 
 #include "nss-nisplus.h"
 #include "nisplus-parser.h"
 
-static service_user *ni = NULL;
-static bool_t use_nisplus = FALSE; /* default: passwd_compat: nis */
-static nis_name pwdtable = NULL; /* Name of the pwd table */
-static size_t pwdtablelen = 0;
+static service_user *ni;
+static bool_t use_nisplus; /* default: passwd_compat: nis */
+static nis_name pwdtable; /* Name of the pwd table */
+static size_t pwdtablelen;
 
 /* Get the declaration of the parser function.  */
 #define ENTNAME pwent
index e184d79e6d892381b2dc939af26232ff250acc37..b3a79421438f76284817df7343b2d86a6c04a630 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1996.
 
 #include "nss-nisplus.h"
 #include "nisplus-parser.h"
 
-static service_user *ni = NULL;
-static bool_t use_nisplus = FALSE; /* default: passwd_compat: nis */
-static nis_name pwdtable = NULL; /* Name of the password table */
-static size_t pwdtablelen = 0;
+static service_user *ni;
+static bool_t use_nisplus; /* default: passwd_compat: nis */
+static nis_name pwdtable; /* Name of the password table */
+static size_t pwdtablelen;
 
 /* Get the declaration of the parser function.  */
 #define ENTNAME spent
index e6e23865478e36ff5049bf05a2a1b705a3c9dceb..459f7643e5019e47dca475aa2d7a74e81c3f4adc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999i, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1996.
 
@@ -31,8 +31,8 @@
 __libc_lock_define_initialized (static, lock)
 
 static bool_t new_start = 1;
-static char *oldkey = NULL;
-static int oldkeylen = 0;
+static char *oldkey;
+static int oldkeylen;
 
 static int
 _nss_nis_parse_aliasent (const char *key, char *alias, struct aliasent *result,
index 51c85348945a918080c805ba955b16f12d1ce566..d5d6dbac5169c3250e6059f5688883b3c2bd0797 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
 
@@ -44,8 +44,8 @@ struct response
   struct response *next;
 };
 
-static struct response *start = NULL;
-static struct response *next = NULL;
+static struct response *start;
+static struct response *next;
 
 static int
 saveit (int instatus, char *inkey, int inkeylen, char *inval,
index 72cf1b27479f6581ce47556e0a4a96523d69b365..f363f31523103b07882ba113b2fb60d7fac654ad 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
 
@@ -38,8 +38,8 @@
 __libc_lock_define_initialized (static, lock)
 
 static bool_t new_start = 1;
-static char *oldkey = NULL;
-static int oldkeylen = 0;
+static char *oldkey;
+static int oldkeylen;
 
 enum nss_status
 _nss_nis_setgrent (int stayopen)
index ca02f019025538d4c0aed468243702fd37bd90a1..8b7b80c4a1ec8f60ec78b2c745bbcb662c641d3d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1996.
 
@@ -39,8 +39,8 @@
 __libc_lock_define_initialized (static, lock)
 
 static bool_t new_start = 1;
-static char *oldkey = NULL;
-static int oldkeylen = 0;
+static char *oldkey;
+static int oldkeylen;
 
 enum nss_status
 _nss_nis_setnetent (int stayopen)
index 33286df53ac88944fee1e30157b6628b98a1d31c..debf5f8dc56b5e459b0535dade4f07fc4a8a449a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
 
@@ -41,8 +41,8 @@ struct response
   struct response *next;
 };
 
-static struct response *start = NULL;
-static struct response *next = NULL;
+static struct response *start;
+static struct response *next;
 
 static int
 saveit (int instatus, char *inkey, int inkeylen, char *inval,
index b818f08f0540876ccef857b902882bc5ca6387a2..b59d172095dfbb2e9d1a5ddece0f38c1168f59e8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1996.
 
@@ -38,8 +38,8 @@
 __libc_lock_define_initialized (static, lock)
 
 static bool_t new_start = 1;
-static char *oldkey = NULL;
-static int oldkeylen = 0;
+static char *oldkey;
+static int oldkeylen;
 
 enum nss_status
 _nss_nis_setpwent (int stayopen)
index d91f624db6147686d2457a0d753898c32fe5164a..7d3a08ec9aa24068462be10d7acbf6875a3eab28 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1996.
 
@@ -38,8 +38,8 @@
 __libc_lock_define_initialized (static, lock)
 
 static bool_t new_start = 1;
-static char *oldkey = NULL;
-static int oldkeylen = 0;
+static char *oldkey;
+static int oldkeylen;
 
 enum nss_status
 _nss_nis_setspent (int stayopen)
index a189d282ca619637d4dcaf4e3eac403dd53dd977..df27caa2377cf901556352cc27130f0f116c632b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static u_long next_entry = 0;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static u_long next_entry;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 #define NISENTRYVAL(idx,col,res) \
         ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val)
index cbba2d39b5e3849ee72085b4b8ac954db95e82fb..7b79f382422dcd267d0056308d2cc89a9efff50a 100644 (file)
@@ -31,9 +31,9 @@
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 
 #define NISENTRYVAL(idx,col,res) \
index 662d205acde276a37b6d0473156992978079dffa..7f799a4f3190f33b4c4ab388a83f3b46036c413c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
 
 __libc_lock_define_initialized (static, lock);
 
-static nis_result *result = NULL;
-static unsigned long next_entry = 0;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static unsigned long next_entry;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 static enum nss_status
 _nss_create_tablename (int *errnop)
index b2cb7a0f65036c4e7d6c72294862036a0f851270..ad33e588a554fbc95d494bb10e7fdd179641ba6b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997.
 
@@ -31,9 +31,9 @@
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 #define NISENTRYVAL(idx,col,res) \
         ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val)
index adfb3c18e5ff0b6c7857346233aca7951cd49c00..2a9c991b553a1a8884bf68725d445b0970c53692 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -31,9 +31,9 @@
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 #define NISENTRYVAL(idx,col,res) \
         ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val)
index 984530dcddfd4246379f8631617b64da82a8eb79..befe6acb91b999d7251215f907772597b2fd3461 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -29,9 +29,9 @@
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 #define NISENTRYVAL(idx,col,res) \
         ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val)
index 3ead9cda0da57219c1a8e4cf14c537b48384aeaf..d008f99e9f4e186fee5e69245ea856203a444098 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -29,9 +29,9 @@
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 static enum nss_status
 _nss_create_tablename (int *errnop)
index 6ba96422a9bb30a2a3b31028227b80896bc9218f..75d200ae27efe1c4e675c05966e136d293e6fd76 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -29,9 +29,9 @@
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 #define NISENTRYVAL(idx,col,res) \
         ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val)
index f3815344f674d4a35bf05d10c48533550a212648..76acbd0b218102593902d1978525bc246b13ab2f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997.
 
@@ -29,9 +29,9 @@
 
 __libc_lock_define_initialized (static, lock);
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 #define NISENTRYVAL(idx,col,res) \
   ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val)
index f8a8a5a3c2ef47c1971e4db881f44447b738b34b..594c21b30811e945f1881cf68250a7a048ebd2c2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -29,9 +29,9 @@
 
 __libc_lock_define_initialized (static, lock)
 
-static nis_result *result = NULL;
-static nis_name tablename_val = NULL;
-static u_long tablename_len = 0;
+static nis_result *result;
+static nis_name tablename_val;
+static u_long tablename_len;
 
 static enum nss_status
 _nss_create_tablename (int *errnop)