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

Bug#415807: marked as done (error while running gnump3d-index)



Your message dated Thu, 22 Mar 2007 12:50:23 +0100
with message-id <87y7lpcxa8.fsf@diziet.irb.hr>
and subject line Bug#415807: fixed in gnump3d 2.9.8-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gnump3d
Version: 2.9.3-1sarge3
Severity: normal


I have this everyday in my inbox:

/etc/cron.daily/gnump3d:
Use of uninitialized value in numeric eq (==) at /usr/bin/gnump3d-index
line 365.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gnump3d depends on:
ii  debconf [debconf-2.0]      1.4.30.13     Debian configuration management sy
ii  logrotate                  3.7-5         Log rotation utility
ii  perl                       5.8.4-8sarge5 Larry Wall's Practical Extraction 
ii  perl-modules               5.8.4-8sarge5 Core Perl modules

-- debconf information:
* gnump3d/user: gnump3d
* gnump3d/root: /data/music
* gnump3d/port: 8888


--- End Message ---
--- Begin Message ---
Source: gnump3d
Source-Version: 2.9.8-2

magnus anderssen <debian-bugs@magooweb.com> writes:

> I have this everyday in my inbox:
>
> /etc/cron.daily/gnump3d:
> Use of uninitialized value in numeric eq (==) at /usr/bin/gnump3d-index
> line 365.

This was previously reported as #344168 and fixed in 2.9.8-2.  Here's a
backported patch for 2.9.3-1sarge3:

--- /usr/bin/gnump3d-index.orig
+++ /usr/bin/gnump3d-index
@@ -362,7 +362,10 @@
 	  @fstat = stat( $file );
 	}
 	if( exists( $cache{$file} ) ) {
-	  if( $cache{$file}->{"MTIME"} == $fstat[9] ) {
+	  if ( ( exists( $cache{$file} ) ) &&
+	       ( exists( $cache{$file}->{"MTIME"} ) ) &&
+	       ( defined( $fstat[9] ) ) &&
+	       ( $cache{$file}->{"MTIME"} == $fstat[9] ) ) {
 	    $skip = 1;
 	  }
 	} else {

Thanks,

Matej

--- End Message ---

Reply to: