Re: PATH_MAX true POSIX size?
From: Heny Townsend (henry.townsend_at_not.here)
Date: 01/29/05
- Next message: Richard B. Gilbert: "Re: PATH_MAX true POSIX size?"
- Previous message: Heiner Steven: "Re: PATH_MAX true POSIX size?"
- In reply to: Heiner Steven: "Re: PATH_MAX true POSIX size?"
- Next in thread: Richard B. Gilbert: "Re: PATH_MAX true POSIX size?"
- Reply: Richard B. Gilbert: "Re: PATH_MAX true POSIX size?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Jan 2005 20:25:57 -0500
Heiner Steven wrote:
> Heny Townsend wrote:
>
>> I notice that PATH_MAX on Solaris is at (2**n - 1):
>>
>> % getconf -a | grep PATH_MAX
>> PATH_MAX: 1023
>> _POSIX_PATH_MAX: 255
>
>
> I tried this with Solaris 8, and could not verify your results:
>
> $ getconf -a | grep PATH_MAX
> PATH_MAX: 1024
> _POSIX_PATH_MAX: 255
Interesting. My results are from Solaris 9 and are quite verifiable:
% uname -a
SunOS xxxxx 5.9 Generic_117171-13 sun4u sparc SUNW,Ultra-5_10
% getconf -a | grep PATH_MAX
PATH_MAX: 1023
_POSIX_PATH_MAX: 255
But hang on, let me fire up my beta of Solaris 10 from a few months ago ...
% getconf -a | grep PATH_MAX
PATH_MAX: 1024
_POSIX_PATH_MAX: 255
_XOPEN_PATH_MAX: 1024
Sheesh, they're all over the map on such a basic thing! And they still
don't know that POSIX says _POSIX_PATH_MAX *must* be 256? Someone from
Sun please restore my faith!
-- Henry Townsend
- Next message: Richard B. Gilbert: "Re: PATH_MAX true POSIX size?"
- Previous message: Heiner Steven: "Re: PATH_MAX true POSIX size?"
- In reply to: Heiner Steven: "Re: PATH_MAX true POSIX size?"
- Next in thread: Richard B. Gilbert: "Re: PATH_MAX true POSIX size?"
- Reply: Richard B. Gilbert: "Re: PATH_MAX true POSIX size?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|