$NetBSD: patch-am,v 1.1 2002/02/27 09:07:44 joda Exp $ --- libidu/fnprint.c~ Tue Jul 9 06:19:08 1996 +++ libidu/fnprint.c Wed Feb 27 09:56:56 2002 @@ -19,7 +19,6 @@ #include #include #include "xstdlib.h" -#include "xalloca.h" #include "xunistd.h" #include "idfile.h" #include "xstring.h" @@ -94,7 +93,7 @@ dlink = arg->fl_parent; if (dlink && dlink != cw_dlink) { - char *file_name = ALLOCA (char, PATH_MAX); + char file_name[PATH_MAX]; maybe_relative_file_name (file_name, dlink, cw_dlink); fputs (file_name, stdout); putchar ('/'); @@ -109,7 +108,7 @@ printf (",%s}%s", root_name (arg->fl_name), suff_name (arg->fl_name)); else { - char *file_name = ALLOCA (char, PATH_MAX); + char file_name[PATH_MAX]; maybe_relative_file_name (file_name, arg, cw_dlink); fputs (file_name, stdout); }