Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: Re: completion problem with filename including # (and pathmax stuff)
- X-seq: zsh-workers 12528
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: Re: completion problem with filename including # (and pathmax stuff)
- Date: Fri, 4 Aug 2000 14:47:30 +0400
- Importance: Normal
- In-reply-to: <1000804071658.ZM23782@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> There are a couple of things we could do.
>
> One, we could pitch out the path length test and simply let domkdir()
> fail -- and perhaps test the value of errno to decide whether to break
> or continue as a result.
>
> Two, we could cause zpathmax() to lop off the tail of the path and call
> itself until it actually does find a maximum path length, then add the
> tail back on and repeat the strlen() test. That might be a good thing
> to have for the general case anyway.
>
> Or we could do both of the above.
>
Or fall back to _POSIX_PATH_MAX (if system supports pathconf(), it rorbably
suports it as well):
PATH_MAX
Maximum number of bytes in a pathname, including the terminating null
character. Minimum Acceptable Value: _POSIX_PATH_MAX
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author