(GUESSPATHLEN): If there is no definition of MAXPATHLEN, then set
GUESSPATHLEN to be 100. (It's used as a starting point, not a limit,
so this is harmless.)
From-SVN: r8080
#include <sys/param.h>
extern char *getwd ();
#define getcwd(buf,len) getwd(buf)
+#ifdef MAXPATHLEN
#define GUESSPATHLEN (MAXPATHLEN + 1)
+#else
+#define GUESSPATHLEN 100
+#endif
#else /* (defined (USG) || defined (VMS)) */
extern char *getcwd ();
/* We actually use this as a starting point, not a limit. */