diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-04-09 08:02:38 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-05-28 09:19:27 +0200 |
commit | ccb58ea9c92c04da4d563dd590a79a336d9a6214 (patch) | |
tree | ac05e66bdf48efe190a024bacab7fbeb13c622c0 /Porting | |
parent | d3232d34580154cd163884b5877f507522967067 (diff) | |
download | perl-ccb58ea9c92c04da4d563dd590a79a336d9a6214.tar.gz |
bisect-runner.pl needs to know how to identify HP-UX's patch.
Unlike AIX, HP-UX patch offers no meaningful clue as to its upstream version:
$ patch -v
$Header: patch.c,v 76.1.1.2.1.3 2001/12/03 12:24:52 abhinav Exp $
Patch level: 0
But it ignores unified diffs, so assume the worst and feed it context diffs.
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bisect-runner.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 46e6366568..57aae49eea 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -703,6 +703,10 @@ sub ud2cd { # The system patch is older than Linux, and probably older than # Windows NT. $use_context = 1; + } elsif ($version =~ /Header: patch\.c,v.*\babhinav\b/) { + # Thank you HP. No, we have no idea *which* version this is: + # $Header: patch.c,v 76.1.1.2.1.3 2001/12/03 12:24:52 abhinav Exp $ + $use_context = 1; } else { # Don't know. $use_context = 0; |