[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getcwd-path-max test useless?
From: |
Jim Meyering |
Subject: |
Re: getcwd-path-max test useless? |
Date: |
Mon, 12 May 2003 15:47:29 +0200 |
"Alfred M. Szmidt" <address@hidden> wrote:
> Is the getcwd-path-max test really needed? It only checks for a bug
> in non-released versions of Linux. And is horribly broken on
> GNU/Hurd, since it tries to be smart with defining PATH_MAX to an
> absurd value (creating 40k/8 of directories is not fun, I don't think
> that I have that many directories on all my file-systems added
> together. :).
Thanks for reporting that.
It's already fixed for the next release.
There's plenty of discussion and the final patch here:
http://bugs.debian.org/190738
* getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
is not defined, don't run the test, and don't use the wrapper.
Otherwise, on the Hurd, it would take a long time to create
and remove a hierarchy about 4000 levels deep.
Based on a patch from Robert Millan.
Such a problem wouldn't have made it into a major release if I had
access to a Hurd system for pre-release testing. Can you help with that?