/[smecontribs]/rpms/smeserver-affa/contribs10/smeserver-affa-fix-blanks-conf.patch
ViewVC logotype

Contents of /rpms/smeserver-affa/contribs10/smeserver-affa-fix-blanks-conf.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Mar 23 14:27:47 2021 UTC (3 years, 8 months ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import smeserver-affa-3.0.0

1 diff -Nur smeserver-affa-3.2.2.3.old/root/sbin/affa smeserver-affa-3.2.2.3/root/sbin/affa
2 --- smeserver-affa-3.2.2.3.old/root/sbin/affa 2016-08-19 16:51:12.270000649 +0200
3 +++ smeserver-affa-3.2.2.3/root/sbin/affa 2016-08-19 19:15:44.654000527 +0200
4 @@ -10,7 +10,7 @@
5 # This is free software, and you are welcome to redistribute it
6 # under certain conditions; type 'affa --license' for details.
7 #----------------------------------------------------------------------
8 -my $VERSION='3.2.2.3-4';
9 +my $VERSION='3.2.2.3-6';
10 #----------------------------------------------------------------------
11
12 use strict;
13 @@ -907,12 +907,16 @@
14 }
15 if( $multi{$k} ) {
16 my @m=$cfg->val($jobname,$k);
17 +######### following 1 line added by Arnaud to solve bug#9449: blank characters into file job.conf##
18 + map( {s/^\s+|\s+$//g; $_ } @m);
19 $job{$k}=[@m];
20 $job{"_$k"}=join(',',@m) if $multi{$k} eq 'string';
21 } else {
22 $job{$k}=$cfg->val($jobname,$k);
23 lg( "*** Error in job config $jobname: Multivalues are not allowed for key $k") if $job{$k}=~/\n/;
24 $job{$k}=~s/\n.*//;
25 +######### following 1 line added by Arnaud to solve bug#9449: blank characters into file job.conf##
26 + $job{$k}=~s/^\s+|\s+$//g;
27 }
28 }
29

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed