Bug#1371: fix for cmail program
Package: xboard
Version: 3.2.2-1
>>From the original bug report:
> root:/mnt/i/093r6/games# cmail
> Type of arg 1 to shift must be array (not concatenation) at /usr/games/cmail
> line 1186, near "@tgames ;"
> Execution of /usr/games/cmail aborted due to compilation errors.
The cmail program is a perl script. This bug is caused by several
missing parentheses. It is fixed by the following:
--------------------
--- cmail.orig Thu Mar 21 11:09:10 1996
+++ cmail Thu Mar 21 11:08:48 1996
@@ -1183,7 +1183,7 @@
## ################################################################# ##
while (@tgames) {
- $game = shift @tgames . shift @tgames ;
+ $game = shift (@tgames) . shift (@tgames) ;
($game_name, $game_num) = &get_game_name_and_number ($game) ;
$games[$game_num] = $game ;
--------------------
Reply to: