mainstoreBackup - Support: sr #110678, Syntax error in...

 
 

sr #110678: Syntax error in storeBackupMergeIsolatedBackup.pl version 3.5.2

Submitter:  None
Submitted:  Mon 27 Jun 2022 04:02:05 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 Jun 2022 04:02:05 PM UTC, original submission:  

Hi,

there seams to be a bug in storeBackupMergeIsolatedBackup.pl in storeBackup version 3.5.2.

```
syntax error at /usr/local/bin/storeBackupMergeIsolatedBackup.pl line 89, near ""$req";"
Global symbol "$req" requires explicit package name (did you forget to declare "my $req"?) at /usr/local/bin/storeBackupMergeIsolatedBackup.pl line 90.
Global symbol "$prog" requires explicit package name (did you forget to declare "my $prog"?) at /usr/local/bin/storeBackupMergeIsolatedBackup.pl line 90.
syntax error at /usr/local/bin/storeBackupMergeIsolatedBackup.pl line 90, near "$prog) "
Execution of /usr/local/bin/storeBackupMergeIsolatedBackup.pl aborted due to compilation errors.
```

And lines 89 and 90 actually do look kind of suspicious:

```
my (unshift @INC, "$req";
$req, $prog) = &libPath($0);
```

Looks a bit like copy&paste gone wrong to me. They should probably look like this:

```
my ($req, $prog) = &libPath($0);
unshift @INC, "$req";
```

Thought I'd let you know.

Kind regards

Lookbehind

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code