mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
- Update to 20110722
Changes: http://savannah.gnu.org/forum/forum.php?forum_id=6876 PR: ports/159110 Submitted by: Chris Howey <howeyc@gmail.com> (maintainer)
This commit is contained in:
parent
76652deff0
commit
acd618fd1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278172
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= parallel
|
||||
PORTVERSION= 20110622
|
||||
PORTVERSION= 20110722
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= GNU
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (parallel-20110622.tar.bz2) = f9b34a819c76fd563462850d648b73fe2b7c2f2c169bae778c9034369766c2bb
|
||||
SIZE (parallel-20110622.tar.bz2) = 174542
|
||||
SHA256 (parallel-20110722.tar.bz2) = 9e0d7d8d7891e9243de38d593ed268caa55e967a95c8d70accf0dd4f81738271
|
||||
SIZE (parallel-20110722.tar.bz2) = 179658
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- ./src/parallel.orig 2011-02-03 15:33:39.000000000 -0700
|
||||
+++ ./src/parallel 2011-02-12 15:28:20.000000000 -0700
|
||||
@@ -3542,28 +3542,42 @@
|
||||
--- ./src/parallel.orig 2011-07-22 07:24:21.000000000 -0500
|
||||
+++ ./src/parallel 2011-07-22 07:33:44.000000000 -0500
|
||||
@@ -3963,28 +3963,42 @@
|
||||
|
||||
# Maximal command line length (for -m and -X)
|
||||
sub max_length {
|
||||
@ -19,8 +19,8 @@
|
||||
- if($::opt_s <= $Limits::Command::line_max_len) {
|
||||
- $Limits::Command::line_max_len = $::opt_s;
|
||||
- } else {
|
||||
- print STDERR "$Global::progname: ",
|
||||
- "value for -s option should be < $Limits::Command::line_max_len\n";
|
||||
- print STDERR "$Global::progname: value for -s option ",
|
||||
- "should be < $Limits::Command::line_max_len\n";
|
||||
- }
|
||||
- } else {
|
||||
- $Limits::Command::line_max_len = real_max_length();
|
||||
@ -28,8 +28,8 @@
|
||||
+ $Limits::Command::line_max_len = `getconf ARG_MAX` - 1024;
|
||||
+ if ($::opt_s) {
|
||||
+ if ($::opt_s > $Limits::Command::line_max_len) {
|
||||
+ print STDERR "$Global::progname: ",
|
||||
+ "you are setting value for -s greater than $Limits::Command::line_max_len\n";
|
||||
+ print STDERR "$Global::progname: ",
|
||||
+ "you are setting value for -s greater than $Limits::Command::line_max_len\n";
|
||||
+ }
|
||||
+ $Limits::Command::line_max_len = $::opt_s;
|
||||
+ }
|
||||
@ -40,8 +40,8 @@
|
||||
+# # Find the max_length of a command line
|
||||
+# # Returns:
|
||||
+# # number of chars on the longest command line allowed
|
||||
+# if(not $Limits::Command::line_max_len) {
|
||||
+# if($::opt_s) {
|
||||
+# if(not $Limits::Command::line_max_len) {
|
||||
+# if($::opt_s) {
|
||||
+# if(is_acceptable_command_line_length($::opt_s)) {
|
||||
+# $Limits::Command::line_max_len = $::opt_s;
|
||||
+# } else {
|
||||
@ -51,8 +51,8 @@
|
||||
+# if($::opt_s <= $Limits::Command::line_max_len) {
|
||||
+# $Limits::Command::line_max_len = $::opt_s;
|
||||
+# } else {
|
||||
+# print STDERR "$Global::progname: ",
|
||||
+# "value for -s option should be < $Limits::Command::line_max_len\n";
|
||||
+# print STDERR "$Global::progname: value for -s option ",
|
||||
+# "should be < $Limits::Command::line_max_len\n";
|
||||
+# }
|
||||
+# } else {
|
||||
+# $Limits::Command::line_max_len = real_max_length();
|
||||
|
Loading…
Reference in New Issue
Block a user