summaryrefslogtreecommitdiff
path: root/devel/id-utils
diff options
context:
space:
mode:
authorross <ross@pkgsrc.org>1999-08-01 09:20:27 +0000
committerross <ross@pkgsrc.org>1999-08-01 09:20:27 +0000
commitb341be17d795f522c9c315a846c5ccec7423e6bc (patch)
treee0d92c8bf233e538ba5f28fdbeea39ef6d8543b7 /devel/id-utils
parent8f7e3d0aa698c688b8321399f5ac72a7eb9f2d7c (diff)
downloadpkgsrc-b341be17d795f522c9c315a846c5ccec7423e6bc.tar.gz
Fix bug where lid and gid core after failing to open a file.
Diffstat (limited to 'devel/id-utils')
-rw-r--r--devel/id-utils/files/patch-sum3
-rw-r--r--devel/id-utils/patches/patch-aa14
2 files changed, 17 insertions, 0 deletions
diff --git a/devel/id-utils/files/patch-sum b/devel/id-utils/files/patch-sum
new file mode 100644
index 00000000000..6615d0d5814
--- /dev/null
+++ b/devel/id-utils/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 1999/08/01 09:20:27 ross Exp $
+
+MD5 (patch-aa) = 1a7616c548f27f367c8ada0ff1d49aa0
diff --git a/devel/id-utils/patches/patch-aa b/devel/id-utils/patches/patch-aa
new file mode 100644
index 00000000000..80da240d802
--- /dev/null
+++ b/devel/id-utils/patches/patch-aa
@@ -0,0 +1,14 @@
+--- src/lid.c.orig Sun Aug 1 02:08:35 1999
++++ src/lid.c Sun Aug 1 02:09:38 1999
+@@ -563,7 +563,10 @@
+ maybe_relative_file_name (file_name, *flinkv++, cw_dlink);
+ gid_FILE = fopen (file_name, "r");
+ if (gid_FILE == 0)
+- error (0, errno, "can't open `%s'", file_name);
++ {
++ error (0, errno, "can't open `%s'", file_name);
++ continue;
++ }
+
+ line_number = 0;
+ while (fgets (&line[1], sizeof (line), gid_FILE))