Solaris 7 w/ current CVS.

Nicolas.Williams at ubsw.com Nicolas.Williams at ubsw.com
Wed Aug 21 07:57:03 EST 2002


Why not define it as "sizeof(size_t)"?

Nico
-- 

> -----Original Message-----
> From: Ben Lindstrom [mailto:mouring at etoh.eviladmin.org]
> Sent: Tuesday, August 20, 2002 5:24 PM
> To: OpenSSH Development
> Subject: Solaris 7 w/ current CVS.
> 
> 
> 
> Not sure about any other version, but I know sol7 lacks 
> SIZE_T_MAX which
> we are now using in -current.
> 
> OpenBSD defines it as ULONG_MAX.   Pawing through the Solaris 
> /usr/include
> it stated it could be 'u_int' or 'u_long'.  Depends on if your are
> compiling legacy stuff.
> 
> I'm sure other OSes may encounter this issue (not tried 
> Linux, but Redhat
> 7.x does not define it), but what is the collective 
> suggestion in regards
> to detectin what size_t is.
> 
> For a work around locally I'm just defining SIZE_T_MAX to 
> ULONG_MAX in my
> local Solaris tree.
> 
> - Ben
> 
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> 

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list