The Samba-Bugzilla – Attachment 1002 Details for
Bug 2406
Option TCP_NODELAY not working on HPUX 11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for TCP_NODELAY at HPUX 11i
includes.h.patch (text/plain), 1.32 KB, created by
Torsten Werner
on 2005-03-02 02:20:22 UTC
(
hide
)
Description:
Fix for TCP_NODELAY at HPUX 11i
Filename:
MIME Type:
Creator:
Torsten Werner
Created:
2005-03-02 02:20:22 UTC
Size:
1.32 KB
patch
obsolete
>315c315 >< * was included above. However <rpc/rpc.h> includes <sys/xti.h> which defines >--- >> * was included above. However <shadow.h> includes <sys/xti.h> which defines >319a320 >> >325a327 >> >326a329,331 >> >> #if ! defined(TCP_NODELAY) && ! defined(TCP_MAXSEG) && defined(HPUX) >> #warning "shado.h did not redefine TCP_NODELAY or TCP_MAXSEG" >327a333 >> #endif >378,390d383 >< /* >< * HP-UX 11.X has TCP_NODELAY and TCP_MAXSEG defined in <netinet/tcp.h> which >< * was included above. However <rpc/rpc.h> includes <sys/xti.h> which defines >< * them again without checking if they already exsist. This generates >< * two "Redefinition of macro" warnings for every single .c file that is >< * compiled. >< */ >< #if defined(HPUX) && defined(TCP_NODELAY) >< #undef TCP_NODELAY >< #endif >< #if defined(HPUX) && defined(TCP_MAXSEG) >< #undef TCP_MAXSEG >< #endif >400,412d392 >< /* >< * HP-UX 11.X has TCP_NODELAY and TCP_MAXSEG defined in <netinet/tcp.h> which >< * was included above. However <rpc/rpc.h> includes <sys/xti.h> which defines >< * them again without checking if they already exsist. This generates >< * two "Redefinition of macro" warnings for every single .c file that is >< * compiled. >< */ >< #if defined(HPUX) && defined(TCP_NODELAY) >< #undef TCP_NODELAY >< #endif >< #if defined(HPUX) && defined(TCP_MAXSEG) >< #undef TCP_MAXSEG >< #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2406
: 1002