summaryrefslogtreecommitdiff
path: root/devel/id-utils/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/id-utils/patches/patch-aa')
-rw-r--r--devel/id-utils/patches/patch-aa33
1 files changed, 19 insertions, 14 deletions
diff --git a/devel/id-utils/patches/patch-aa b/devel/id-utils/patches/patch-aa
index 821ff70772f..2c54ff63f29 100644
--- a/devel/id-utils/patches/patch-aa
+++ b/devel/id-utils/patches/patch-aa
@@ -1,16 +1,21 @@
-$NetBSD: patch-aa,v 1.2 1999/08/01 14:37:27 mrg Exp $
+$NetBSD: patch-aa,v 1.3 2006/08/04 19:23:39 christos Exp $
---- 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;
-+ }
+--- libidu/fnprint.c.orig 2005-12-27 00:21:33.000000000 -0500
++++ libidu/fnprint.c 2006-08-03 12:58:44.026747335 -0400
+@@ -19,7 +19,6 @@
+ #include <config.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <alloca.h>
+ #include <unistd.h>
+ #include <string.h>
+ #include <pathmax.h>
+@@ -82,7 +81,7 @@
+ struct file_link const *arg;
+ struct file_link const *dlink;
+ int brace_is_open = 0;
+- char *file_name = alloca (sizeof(char) * PATH_MAX);
++ char file_name[sizeof(char) * PATH_MAX];
- line_number = 0;
- while (fgets (&line[1], sizeof (line), gid_FILE))
+ while (*flinkv)
+ {