summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2016-02-13 18:26:09 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2016-02-13 19:04:05 -0500
commit7d2d29f684a62da1d3ce84a1267842d35219a6d8 (patch)
tree7aaa1807f13dfe2419ecc4b0fd4a3fc82f051fc5 /makedepend.SH
parent5b48e25f83f62f48ea280c49b00302e063384348 (diff)
downloadperl-7d2d29f684a62da1d3ce84a1267842d35219a6d8.tar.gz
Solaris /usr/bin/sed cannot handle labels of length eight.
You will just get a bunch of these from makedepend: Finding dependencies for av.o. Label too long: : testcont According to POSIX, it should, eight being the minimum supported length. Shoulda woulda coulda. Label of length seven seems to be fine.
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH4
1 files changed, 2 insertions, 2 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 9870c3f881..4e203b6872 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -162,11 +162,11 @@ for file in `$cat .clist`; do
( $echo "#line 2 \"$file\""; \
$sed -n <$file \
-e "/^${filebase}_init(/q" \
- -e ': testcont' \
+ -e ': tstcont' \
-e '/^[ ]*#/s|[ ]*/\*..*\*/[ ]*| |' \
-e '/\\$/{' \
-e 'N' \
- -e 'b testcont' \
+ -e 'b tstcont' \
-e '}' \
-e 's/\\\n//g' \
-e '/^#line/d' \