($(VAR_DB)/passwd.db): Don't handle duplicate uids specially.
authordrepper <drepper>
Tue, 20 Jan 1998 18:15:24 +0000 (18:15 +0000)
committerdrepper <drepper>
Tue, 20 Jan 1998 18:15:24 +0000 (18:15 +0000)
nss/db-Makefile

index c10267c..b3f1ed4 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile to (re-)generate db versions of system database files.
-# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 #
@@ -34,8 +34,7 @@ $(VAR_DB)/passwd.db: /etc/passwd
        @$(AWK) 'BEGIN { FS=":"; OFS=":"; cnt=0 } \
                 { printf "0%u ", cnt++; print } \
                 /^[^#]/ { printf ".%s ", $$1; print; \
-                          if (!uids[$$3]++) \
-                            { printf "=%s ", $$3; print } }' $^ | \
+                          printf "=%s ", $$3; print }' $^ | \
        $(MAKEDB) -o $@ -
        @echo "done."