diff options
Diffstat (limited to 'devel/id-utils/patches/patch-aj')
-rw-r--r-- | devel/id-utils/patches/patch-aj | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/id-utils/patches/patch-aj b/devel/id-utils/patches/patch-aj new file mode 100644 index 00000000000..8047e36f6e3 --- /dev/null +++ b/devel/id-utils/patches/patch-aj @@ -0,0 +1,21 @@ +$NetBSD: patch-aj,v 1.1 2001/09/19 08:57:07 joda Exp $ + +--- src/fid.c~ Wed Aug 7 05:22:14 1996 ++++ src/fid.c Wed Sep 19 10:20:47 2001 +@@ -26,7 +26,6 @@ + #include "error.h" + #include "pathmax.h" + #include "xmalloc.h" +-#include "xalloca.h" + + int get_file_index __P((char *file_name)); + int is_hit __P((unsigned char const *hits, int file_number)); +@@ -203,7 +202,7 @@ + struct file_link **members; + struct file_link **end = &members_0[idh.idh_files]; + struct file_link *fn_flink = 0; +- char *file_name_buf = ALLOCA (char, PATH_MAX); ++ char file_name_buf[PATH_MAX]; + int has_slash = (strchr (file_name, '/') != 0); + int file_name_length = strlen (file_name); + int idx = -1; |