* [committed] Revise select for hpux_htonl include fix
@ 2010-09-07 15:00 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2010-09-07 15:00 UTC (permalink / raw)
To: gcc-patches
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
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2010-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* inclhack.def (hpux_htonl): Allow trailing whitespace in select.
* fixincl.x: Regenerate.
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-07 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 15:00 [committed] Revise select for hpux_htonl include fix John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).