Don't depend on stdio and stdout to be static values, move the initialisation to run time.
13 lines
305 B
Text
13 lines
305 B
Text
$NetBSD: patch-ac,v 1.1 2005/11/10 18:25:42 joerg Exp $
|
|
|
|
--- parserc.c.orig 2005-11-10 18:22:31.000000000 +0000
|
|
+++ parserc.c
|
|
@@ -154,8 +154,6 @@ char *args[];
|
|
static int safe_chdir(directory)
|
|
char *directory;
|
|
{
|
|
- extern int errno;
|
|
-
|
|
char *subdir=NULL;
|
|
struct stat sb;
|
|
int nslashes=0, chdir_ret;
|