This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SCO OpenServer / UnixWare port update


On Fri, Oct 14, 2005 at 04:29:39PM -0700, Kean Johnston wrote:
> Then the fix to define MAXPATHLEN if not previously defined
> is both easier and more portable. Otherwise, I would have
> to change code to dynamically create an array rather than
> using a stack based local, and that code would have to use
> some much-more-likely-to-be-non-portable mechanism for
> determining the real maximum path length for the specific
> filesystem.

No, the point of dynamic allocation is to not impose any "real maximum
path length" - some systems don't have one.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]