[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs & MAXPATHLEN

From: Richard M. Stallman
Subject: Re: emacs & MAXPATHLEN
Date: Sun, 31 Jul 2005 20:46:08 -0400

1. I'd rather put this in sysdep.c and avoid the hassle of
two new files.

2. It could be called get_current_dir_name,
and defined only when the system does not define it.
That would simplify things.

3. I'd rather not include this:

+      buf = (char *) malloc (MAXPATHLEN + 1);
+      if (!buf)
+        return NULL;
+      if (getcwd (buf, MAXPATHLEN + 1) == NULL)
+        return NULL;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]