Package: multicd
Version: 1.7.3-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* Apply patch from era resolving incorrect use of Math::BigInt
to handle cd_size in bytes. (LP: #618750)
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500,
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- multicd-1.7.3.orig/multicd
+++ multicd-1.7.3/multicd
@@ -986,7 +986,7 @@
# Allow users to specify cd_size and maxfile_size in terms of Megs
# or Kilobytes, and then convert to bytes.
foreach ($cfg->{cd_size}, $cfg->{maxfile_size}) {
- if(/^(.+?)([KMG])$/i) {
+ if(/^(.+?)([KMG])?$/i) {
$_ = Math::BigInt->new($1);
my $mult = uc($2);
if($mult eq 'K') {