summaryrefslogtreecommitdiff
path: root/hints/os390.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2013-02-27 09:12:13 -0500
committerKarl Williamson <khw@cpan.org>2014-10-21 09:26:49 -0600
commita4c2c75af551764534f9f8cb6afd4ef6ba514f45 (patch)
treec0193160b0cb63cab8b30472124acd9a61a14bc4 /hints/os390.sh
parent636fe681770e29874acb69ab162bc53731425867 (diff)
downloadperl-a4c2c75af551764534f9f8cb6afd4ef6ba514f45.tar.gz
Change os390 custom cppstdin script to use fgrep.
Grep appears to be limited to 2048 characters, and truncates the output for cppstin. Fgrep apparently doesn't have that limit. Thanks to John Goodyear <johngood@us.ibm.com> for reporting this.
Diffstat (limited to 'hints/os390.sh')
-rw-r--r--hints/os390.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/os390.sh b/hints/os390.sh
index 5aafb4e78a..892d36d391 100644
--- a/hints/os390.sh
+++ b/hints/os390.sh
@@ -158,10 +158,10 @@ esac
# under a compiler other than c89.
case "$usedl" in
define)
-echo 'cat >.$$.c; '"$cc"' -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -D_SHR_ENVIRON -E -Wc,"LANGLVL(DOLLARINNAMES)",NOLOC ${1+"$@"} .$$.c | grep -v "??="; rm .$$.c' > cppstdin
+echo 'cat >.$$.c; '"$cc"' -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -D_SHR_ENVIRON -E -Wc,"LANGLVL(DOLLARINNAMES)",NOLOC ${1+"$@"} .$$.c | fgrep -v "??="; rm .$$.c' > cppstdin
;;
*)
-echo 'cat >.$$.c; '"$cc"' -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -E -Wc,"LANGLVL(DOLLARINNAMES)",NOLOC ${1+"$@"} .$$.c | grep -v "??="; rm .$$.c' > cppstdin
+echo 'cat >.$$.c; '"$cc"' -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -E -Wc,"LANGLVL(DOLLARINNAMES)",NOLOC ${1+"$@"} .$$.c | fgrep -v "??="; rm .$$.c' > cppstdin
;;
esac