From eadcbfa85ed30c5534f5b3646b27b37d2e6eae4d Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 22 Sep 2004 23:45:13 +0000 Subject: Updates --- src/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index 6c2feea..8bca1b3 100644 --- a/src/util.c +++ b/src/util.c @@ -28,6 +28,7 @@ static const char ident[]="$Id$"; #include #include #include +#include #include "util.h" #include "exit.h" @@ -85,7 +86,7 @@ const char *Basename(const char *path) const char *Dirname(const char *path) { - static char dir[FILENAME_MAX]; + static char dir[MAXPATHLEN+1]; char *p; strcpy(dir,path); -- cgit v1.2.3