From d2516343bc5c105543b22eed3b073a8a4e14a659 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 28 Feb 2005 07:48:22 +0000 Subject: * New feature: -L option * New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry) --- dir.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 976e0b4..832b562 100644 --- a/dir.c +++ b/dir.c @@ -122,11 +122,7 @@ dosify (char *filename) static char * downcase (char *filename) { -#ifdef _AMIGA - static char new_filename[136]; -#else - static char new_filename[PATH_MAX]; -#endif + static PATH_VAR (new_filename); char *df; int i; @@ -1152,10 +1148,10 @@ read_dirstream (__ptr_t stream) } static void -ansi_free(void *p) +ansi_free (void *p) { - if (p) - free(p); + if (p) + free(p); } /* On 64 bit ReliantUNIX (5.44 and above) in LFS mode, stat() is actually a -- cgit v1.2.3