[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs & MAXPATHLEN
From: |
Alfred M\. Szmidt |
Subject: |
Re: emacs & MAXPATHLEN |
Date: |
Sat, 30 Jul 2005 13:53:20 +0200 |
I also wonder whether we should keep the "#ifdef MAXPATHLEN"
branch, or just use the loop below on all platforms that have
getcwd.
If MAXPATHLEN is defined, it should be respected, if you try to use a
file name that is longer than MAXPATHLEN then the behaviour of the
system is undefined. Maybe just something like:
#ifdef MAXPATHLEN
if (buf_size >= MAXPATHLEN)
break;
#endif
Would be sufficient for platforms with MAXPATHLEN, and then just use
that in the loop.
- emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/28
- Re: emacs & MAXPATHLEN, Richard M. Stallman, 2005/07/28
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/28
- Re: emacs & MAXPATHLEN, Alfred M\. Szmidt, 2005/07/29
- Re: emacs & MAXPATHLEN, Richard M. Stallman, 2005/07/29
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/29
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/29
- Re: emacs & MAXPATHLEN, Eli Zaretskii, 2005/07/30
- Re: emacs & MAXPATHLEN, Jan D., 2005/07/30
- Re: emacs & MAXPATHLEN,
Alfred M\. Szmidt <=
- Re: emacs & MAXPATHLEN, Eli Zaretskii, 2005/07/30
- Re: emacs & MAXPATHLEN, Alfred M\. Szmidt, 2005/07/30
- Re: emacs & MAXPATHLEN, Andreas Schwab, 2005/07/30
- Re: emacs & MAXPATHLEN, Eli Zaretskii, 2005/07/30
- Re: emacs & MAXPATHLEN, Jan D., 2005/07/30
- Re: emacs & MAXPATHLEN, Andreas Schwab, 2005/07/30
- Re: emacs & MAXPATHLEN, Richard M. Stallman, 2005/07/31
- Re: emacs & MAXPATHLEN, Richard M. Stallman, 2005/07/30
- Re: emacs & MAXPATHLEN, Giuseppe Scrivano, 2005/07/30
- Re: emacs & MAXPATHLEN, Alfred M\. Szmidt, 2005/07/30