[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:
+#ifdef MAXPATHLEN
+ buf = (char *) malloc (MAXPATHLEN + 1);
+ if (!buf)
+ return NULL;
+ if (getcwd (buf, MAXPATHLEN + 1) == NULL)
+ return NULL;
+#else
- Re: emacs & MAXPATHLEN, (continued)
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/30
- Re: emacs & MAXPATHLEN, Alfred M\. Szmidt, 2005/07/30
- Re: emacs & MAXPATHLEN, Jan D., 2005/07/30
- Re: emacs & MAXPATHLEN, Alfred M\. Szmidt, 2005/07/30
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/30
- Re: emacs & MAXPATHLEN, Andreas Schwab, 2005/07/30
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/30
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/30
- Re: emacs & MAXPATHLEN, Richard M. Stallman, 2005/07/30
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/30
- Re: emacs & MAXPATHLEN,
Richard M. Stallman <=
- Re: emacs & MAXPATHLEN, Eli Zaretskii, 2005/07/29
- Re: emacs & MAXPATHLEN, Richard M. Stallman, 2005/07/30