Le ven. 11 avr. 2025 à 18:11, Chet Ramey <chet.ra...@case.edu> a écrit :

> On 4/10/25 12:29 PM, Laurent Lyaudet wrote:
> > Hello :),
> >
> > Recently, I noticed during tests that mkdir -p can handle paths beyond
> > PATH_MAX that is currently 4096.
> > But cd cannot do this.
>
> POSIX requires cd to fail in this case, leaving the current directory
> unchanged.
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/
>

Hello Chet :)

Thank you very much.
I did not knew that POSIX had failing requirements.
I would have think that as long as the filesystem handles it, it is ok for
POSIX.
Thanks for letting me know.

Best regards,
     Laurent Lyaudet

Reply via email to