blob: 1becd585a3f3788c07720e5480696b0c1f224971 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-aa,v 1.1.1.1 2006/08/05 19:53:26 wiz Exp $
--- 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];
while (*flinkv)
{
|