From: Björn Jacke Date: Thu, 10 Jun 2010 21:15:19 +0000 (+0200) Subject: s3: readd h_errno struct member but rename it X-Git-Tag: samba-3.5.17~5 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=aa6cbf452052cef108e2fe0b35dbd26b4d2f1fc3 s3: readd h_errno struct member but rename it as pointed out by metze this is a structure of fixed size, which should not be changed. (cherry picked from commit a8c051b2f91852b5228d6a903d6a7fd50d22de28) Second part of a fix for bug #9011 (Build on HP-UX broken). (cherry picked from commit 7a56042642409556c492cadd49772bb70fbd974d) --- diff --git a/nsswitch/winbind_nss_hpux.h b/nsswitch/winbind_nss_hpux.h index 393c0a35dba..dba70a7657a 100644 --- a/nsswitch/winbind_nss_hpux.h +++ b/nsswitch/winbind_nss_hpux.h @@ -133,9 +133,9 @@ typedef struct nss_XbyY_args { /* * h_errno is defined as function call macro for multithreaded applications * in HP-UX. *this* h_errno is not used in the HP-UX codepath of our nss - * modules, so let's simply comment it out here: - * int h_errno; + * modules, so let's simply rename it: */ + int h_errno_unused; nss_status_t status; } nss_XbyY_args_t;