FreeBSD Bugzilla – Attachment 146179 Details for
Bug 192945
[maintainer update] sysutils/parallel - New Version (20140822)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch
parallel-20140822.txt (text/plain), 2.38 KB, created by
howeyc
on 2014-08-23 14:36:22 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
howeyc
Created:
2014-08-23 14:36:22 UTC
Size:
2.38 KB
patch
obsolete
>diff -ruN parallel.bak/Makefile parallel/Makefile >--- parallel.bak/Makefile 2014-07-23 00:04:55.000000000 -0500 >+++ parallel/Makefile 2014-08-23 09:08:47.000000000 -0500 >@@ -2,7 +2,7 @@ > # $FreeBSD: head/sysutils/parallel/Makefile 362619 2014-07-23 05:04:55Z sunpoet $ > > PORTNAME= parallel >-PORTVERSION= 20140722 >+PORTVERSION= 20140822 > CATEGORIES= sysutils > MASTER_SITES= GNU > >diff -ruN parallel.bak/distinfo parallel/distinfo >--- parallel.bak/distinfo 2014-07-23 00:04:55.000000000 -0500 >+++ parallel/distinfo 2014-08-23 09:08:52.000000000 -0500 >@@ -1,2 +1,2 @@ >-SHA256 (parallel-20140722.tar.bz2) = b6e0b8be4f15ea9f451b6a742e914aaa234a9008946aae151aff107a2172bb98 >-SIZE (parallel-20140722.tar.bz2) = 911085 >+SHA256 (parallel-20140822.tar.bz2) = 8a146a59bc71218921d561f2c801b85e06fe3a21571083b58e6e0966dd397fd4 >+SIZE (parallel-20140822.tar.bz2) = 933029 >diff -ruN parallel.bak/files/patch-src__parallel parallel/files/patch-src__parallel >--- parallel.bak/files/patch-src__parallel 2013-10-25 08:35:57.000000000 -0500 >+++ parallel/files/patch-src__parallel 1969-12-31 18:00:00.000000000 -0600 >@@ -1,35 +0,0 @@ >---- ./src/parallel.orig 2013-10-21 15:31:40.000000000 -0500 >-+++ ./src/parallel 2013-10-23 15:11:54.000000000 -0500 >-@@ -5538,29 +5538,13 @@ >- # Returns: >- # number of chars on the longest command line allowed >- if(not $Limits::Command::line_max_len) { >-- # Disk cache of max command line length >-- my $len_cache = $ENV{'HOME'} . "/.parallel/tmp/linelen-" . ::hostname(); >-- my $cached_limit; >-- if(-e $len_cache) { >-- open(my $fh, "<", $len_cache) || ::die_bug("Cannot read $len_cache"); >-- $cached_limit = <$fh>; >-- close $fh; >-- } else { >-- $cached_limit = real_max_length(); >-- # If $HOME is write protected: Do not fail >-- mkdir($ENV{'HOME'} . "/.parallel"); >-- mkdir($ENV{'HOME'} . "/.parallel/tmp"); >-- open(my $fh, ">", $len_cache); >-- print $fh $cached_limit; >-- close $fh; >-- } >-- $Limits::Command::line_max_len = $cached_limit; >-+ $Limits::Command::line_max_len = `getconf ARG_MAX` - 1024; >- if($opt::max_chars) { >-- if($opt::max_chars <= $cached_limit) { >-+ if($opt::max_chars <= $Limits::Command::line_max_len) { >- $Limits::Command::line_max_len = $opt::max_chars; >- } else { >- ::warning("Value for -s option ", >-- "should be < $cached_limit.\n"); >-+ "should be < $Limits::Command::line_max_len.\n"); >- } >- } >- }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 192945
: 146179
Working