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:

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


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to