On 21/05/2010 16:58, [email protected] wrote:
LOGNAME_MAX is documented as a public committed interface in
limits.h(3HEAD).  How do you deal with that?

LOGNAME_MAX is not part of the standard.

As Solaris removed "utmp" and "wtmp" a long time ago, I would guess that
it can be seen as historical entry that may stay at it's current value
as long as the standard name LOGIN_NAME_MAX is OK.

I'm not proposing it stays at its current value though. The proposal is that it be increased.

I don't see anywhere on limits.h(3HEAD) that says we won't change the value of LOGNAME_MAX it is the name that would be the Committed interface not the value of it.

LOGNAME_MAX is listed in the "Other Invariant Values" section. They way I understand this is that it won't vary between compile time and run time on this operating system, not that it won't ever change between releases.

Code compiled on Solaris 10 or earlier or existing builds of OpenSolaris won't magically be broken they will behave the same way the always do. Code compiled on future releases/builds isn't guaranteed to work on older releases/builds anyway.


--
Darren J Moffat
_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to