pkgsrc/misc/splitvt/patches/patch-ac
joerg 43b5d9ae83 Depend on errno.h for errno.
Don't depend on stdio and stdout to be static values, move the
initialisation to run time.
2005-11-10 18:25:42 +00:00

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;