[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Fix Linux-PAM compiling when system headers don't define HOST_NAME_MAX. (fwd)

On Sun, Jan 29, Dan Yefimov wrote:

> 				Hello!
> 	While compiling Linux-PAM I've discovered that on my system 
> compiling modules/pam_echo/pam_echo.c fails because of HOST_NAME_MAX is 
> undefined on my system. Attached a patch that simply defines HOST_NAME_MAX to 
> either MAXHOSTNAME (if that is defined in sys/param.h, which is my case) or to 
> 64, if the former is not defined (which is unlikely, but...). The patch is 
> applied to configure.in only (of course, after that autoreconf should be 
> invoked). Please apply.

There is already another fix in CVS for pam_echo.c

Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk suse de
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]