20001116
- (bal) Added in MAXSYMLINK test in bsd-realpath.c. Required for some SCO
releases.
- (bal) Make builds work outside of source tree. Patch by Mark D. Roth
<roth@feep.net>
diff --git a/bsd-realpath.c b/bsd-realpath.c
index 103dcc2..baf17f1 100644
--- a/bsd-realpath.c
+++ b/bsd-realpath.c
@@ -52,6 +52,13 @@
#endif
/*
+ * MAXSYMLINKS
+ */
+#ifndef MAXSYMLINKS
+#define MAXSYMLINKS 5
+#endif
+
+/*
* char *realpath(const char *path, char resolved_path[MAXPATHLEN]);
*
* Find the real name of path, by removing all ".", ".." and symlink