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

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

 



On Sun, Jan 29, Dan Yefimov wrote:

> 				Hello!
> 	While compiling Linux-PAM 0.99.3.0 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@xxxxxxx
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux