summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-02-28 07:48:22 +0000
committerPaul Smith <psmith@gnu.org>2005-02-28 07:48:22 +0000
commitd2516343bc5c105543b22eed3b073a8a4e14a659 (patch)
treeb33081457bdf9207b45add40ba56fdeccf63fe6f /dir.c
parent93bd1bd93c1033352e5059ed721a0cc769449639 (diff)
downloadgunmake-d2516343bc5c105543b22eed3b073a8a4e14a659.tar.gz
* 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)
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c12
1 files changed, 4 insertions, 8 deletions
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