ANNOUNCE: openssh-1.2.1pre25

Damien Miller djm at mindrot.org
Sat Jan 8 10:04:15 EST 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 7 Jan 2000, Gary E. Miller wrote:

> Yo Damien!
> 
> On Sat, 8 Jan 2000, Damien Miller wrote:
> 
> > I would rather fix the tests so that these are auto-detected.
> If you are up for it, then I am.
> 
> > The CRYPT_H_BREAKS_BUILD isn't there any more.
> Confirmed.  SCO works OK without it.
> 
> > Do you need to include any special libraries for the innetgr() 
> > function?
> Just -lsocket
> 
> BTW, getspnam() is what requires -lgen

Are they detected OK now?

> > Why did you need to define HAVE_U_INTXX_T again?
> 
> Otherwise I get this warning message a whole lot:
> UX:acomp: WARNING: "./defines.h", line 77: typedef redeclared: u_int16_t
> UX:acomp: WARNING: "./defines.h", line 78: typedef redeclared: u_int32_t
> 
> I hate warning messages because the bugs are usually hiding amoung them
> somewhere...
> 
> The u_intXX_t is in /usr/include/sys/bitypes.h.
> 
> bitypes.h is pulled in directly by:
> 	netdb.h
> 	resolv.h
> 	arpa/inet.h
> 	arpa/nameser.h
> 	net/if_dl.h
> 	netinet/if_ether.h
> 	netinet/in.h
> 	netinet/in6.h
> 	netinet/in6_f.h
> 	sys/bitypes.h
> 	sys/convsa.h
> 	sys/socket.h
> 	sys/un.h

... but not sys/types.h? That seems broken.

> And sys/socket.h is always called by defines.h  
> 
> So, for at least the SCO case, if you included sys.socket.h in your
> test for u_int16_t that should work.

I now detect and include u_intXX_t declarations in sys/bitypes.h.

Regards,
Damien Miller

- --
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4dnDyormJ9RG1dI8RAqHsAJ981rNlY79er//cbjTkx+QbTOXDAQCgnnCH
69+a4np1J/OSp/sM2T5yEWg=
=YuKi
-----END PGP SIGNATURE-----






More information about the openssh-unix-dev mailing list