From patchwork Tue Sep 7 14:55:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [committed] Revise select for hpux_htonl include fix X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 64028 Message-Id: <20100907145510.4E2DD4CEC@hiauly1.hia.nrc.ca> To: gcc-patches@gcc.gnu.org Date: Tue, 7 Sep 2010 10:55:09 -0400 (EDT) From: "John David Anglin" List-Id: 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 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"