[committed] Revise select for hpux_htonl include fix

Submitted by John David Anglin on Sept. 7, 2010, 2:55 p.m.

Details

Message ID 20100907145510.4E2DD4CEC@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin Sept. 7, 2010, 2:55 p.m.
Some older HP-UX versions have trailing whitespace on the hpux_htonl
select line.  This patch revises the select regexp to match lines with
trailing whitespace.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed
to trunk.

Dave

Patch hide | download patch | download mbox

Index: inclhack.def
===================================================================
--- inclhack.def	(revision 163936)
+++ inclhack.def	(working copy)
@@ -1985,7 +1985,7 @@ 
 fix = {
     hackname = hpux_htonl;
     files    = netinet/in.h;
-    select   = "#ifndef _XOPEN_SOURCE_EXTENDED\n"
+    select   = "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n"
                "(/\\*\n"
                " \\* Macros for number representation conversion\\.\n"
                " \\*/\n"