[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012346: archmbox: Use of uninitialized value in addition (+) at /usr/bin/archmbox ...



The problem is due to a syntax error on line 1864.

I join a patch wich correct the error. archmbox corrected works for my use ( archmbox -k -c <mbox>  -o 90) but I don't know for other usage.

Francois Mescam

Le 05/06/2022 à 09:03, Debian Bug Tracking System a écrit :
Thank you for filing a new Bug report with Debian.

You can follow progress on this Bug here: 1012346: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012346.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
  Debian QA Group <packages@qa.debian.org>

If you wish to submit further information on this problem, please
send it to 1012346@bugs.debian.org.

Please do not send mail to owner@bugs.debian.org unless you wish
to report a problem with the Bug-tracking system.
--- /usr/bin/archmbox	2021-08-16 13:27:45.000000000 +0200
+++ archmbox	2022-06-05 15:40:21.429860158 +0200
@@ -1861,7 +1861,7 @@
 my $mbs_f = $mbox_size / $SIZE_FACTOR;		# float size in MB
 my @fmt_l = (length($mbs),			# format values
 	    length($messages),
-	    length( ( $mbs_f =~ /(^.*?)\./ )[0] ) + 3);
+	    length( ( $mbs_f =~ /(^.*?)\./ ) ) + 3 );
 
 sub _p_total {
     my ( $msg_l, $n_msg_l, $size_l, $msg, $n_msg, $size, $on_msg ) = @_;

Reply to: