Package: gnump3d
Version: 2.9.3-1sarge1
Severity: normal
Tags: patch
gnump3d-index fails at line 405, the following change fixes the issue:
--- /usr/bin/gnump3d-index 2005-05-09 23:02:31.000000000 -0400
+++ gnump3d-index 2005-05-23 14:30:57.000000000 -0400
@@ -402,9 +402,11 @@
@fstat = stat( $file );
}
if( exists( $cache{$file} ) ) {
+ if( exists( $cache{$file}->{"MTIME"} ) ) {
if( $cache{$file}->{"MTIME"} == $fstat[9] ) {
$skip = 1;
}
+ }
} else {
# No cache, build entry manually.
}
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-rc4-desktop-2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored:
LC_ALL set to en_US)
Versions of packages gnump3d depends on:
ii debconf [debconf-2.0] 1.4.41 Debian configuration management sy
ii logrotate 3.7-3 Log rotation utility
ii perl 5.8.4-8 Larry Wall's Practical Extraction
ii perl-modules 5.8.4-8 Core Perl modules
-- debconf information excluded
--- /usr/bin/gnump3d-index 2005-05-09 23:02:31.000000000 -0400
+++ gnump3d-index 2005-05-23 14:30:57.000000000 -0400
@@ -402,9 +402,11 @@
@fstat = stat( $file );
}
if( exists( $cache{$file} ) ) {
+ if( exists( $cache{$file}->{"MTIME"} ) ) {
if( $cache{$file}->{"MTIME"} == $fstat[9] ) {
$skip = 1;
}
+ }
} else {
# No cache, build entry manually.
}