Skip to content

Commit

Permalink
Fix a quoting problem which caused errors with pie on amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed May 12, 2017
1 parent c4463ac commit 3feae1b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog for schedule

*schedule-v7.5.3:
Martin Väth <martin at mvath.de>:
- Fix a quoting problem which caused with pie on amd64 the error:
Hexadecimal number > 0xffffffff non-portable at (eval 1) line 1

*schedule-v7.5.2:
Martin Väth <martin at mvath.de>:
- schedule-tmux --remain: Avoid set-remain-on-exit (for >=tmux-2.4)
Expand Down
4 changes: 2 additions & 2 deletions bin/schedule
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This is part of the schedule project.

BEGIN { require 5.012 }
package Schedule v7.5.0;
package Schedule v7.5.3;

use strict;
use warnings;
Expand Down Expand Up @@ -147,7 +147,7 @@ if(exists($ENV{'SCHEDULE_OPTS'})) {
unshift(@ARGV, &env_to_array('SCHEDULE_OPTS'))
}

eval "END { $s->did_alpha() || $s->exec_alpha() }";
eval 'END { $s->did_alpha() || $s->exec_alpha() }';

# Parse Options:

Expand Down
4 changes: 2 additions & 2 deletions bin/schedule-server
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This is part of the schedule project.

BEGIN { require 5.012 }
package ScheduleServer v7.5.0;
package ScheduleServer v7.5.3;

use strict;
use warnings;
Expand Down Expand Up @@ -87,7 +87,7 @@ if(exists($ENV{'SCHEDULE_SERVER_OPTS'})) {
unshift(@ARGV, &env_to_array('SCHEDULE_OPTS'))
}

eval "END { $s->did_alpha() || $s->exec_alpha() }";
eval 'END { $s->did_alpha() || $s->exec_alpha() }';

# Parse Options:

Expand Down
7 changes: 6 additions & 1 deletion share/schedule/Schedule/Connect.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# common parts of schedule and schedule-server which are always needed

BEGIN { require 5.012 }
package Schedule::Connect v7.5.2;
package Schedule::Connect v7.5.3;

use strict;
use warnings;
Expand Down Expand Up @@ -48,8 +48,11 @@ my $serversupallowed = '';
# For modules not appearing here, the above defaults apply.
# If "undefined", no corresponding restriction is required.

my $version753 = $VERSION; # version->declare('v7.5.3')
my %minversion = (
# temporary:
'Schedule' => $version753,
'ScheduleServer' => $version753,

# Keep the following always:
'Schedule::Connect' => undef
Expand Down Expand Up @@ -322,6 +325,8 @@ sub get_options {
my $s = shift();
my @passfile = ();
my $quiet = 0;
$s->check_version((($s->name()) =~ m{serv}i) ?
'ScheduleServer' : 'Schedule');
Getopt::Long::Configure(qw(
bundling
gnu_compat
Expand Down

0 comments on commit 3feae1b

Please sign in to comment.