Formerly io/ftw.c.~2~
authorroland <roland>
Thu, 6 Jan 1994 06:38:59 +0000 (06:38 +0000)
committerroland <roland>
Thu, 6 Jan 1994 06:38:59 +0000 (06:38 +0000)
io/ftw.c

index 19a7321..ae31a8b 100644 (file)
--- a/io/ftw.c
+++ b/io/ftw.c
@@ -154,6 +154,9 @@ DEFUN(ftw, (dir, func, descriptors),
 {
   DIR **dirs;
   size_t len;
+#ifndef PATH_MAX
+#define PATH_MAX 1024          /* XXX */
+#endif
   char buf[PATH_MAX + 1];
   struct stat s;
   int flag, ret;