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

Bug#283519: marked as done (emelfm: du plugin needs to handle larger data sets (with patch))



Your message dated Fri,  5 Feb 2010 12:51:10 +0000 (WET)
with message-id <20100205125110.496D06BE0@kmos.homeip.net>
and subject line Package emelfm has been removed from Debian
has caused the Debian Bug report #283519,
regarding emelfm: du plugin needs to handle larger data sets (with patch)
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
283519: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=283519
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: emelfm
Version: 0.9.2-7
Severity: normal
Tags: patch

The disk usage plugin only uses a gint to hold the total size.  It
cannot handle large data sets (such as those big enough to fill a DVD).

patch:

--- du.c-orig   2000-11-17 01:27:04.000000000 -0500
+++ du.c        2004-11-29 11:47:27.000000000 -0500
@@ -26,7 +26,7 @@
 #include "../emelfm.h"
 
 static void
-add_disk_usage(gchar *filename, gint *total, gint *files, gint *dirs)
+add_disk_usage(gchar *filename, gulong *total, gint *files, gint *dirs)
 {
   struct stat statbuf;
 
@@ -82,7 +82,8 @@
 {
   GList *base, *tmp;
   FileInfo *info;
-  gint total = 0, files = 0, dirs = 0;
+  gulong total = 0;
+  gint files = 0, dirs = 0;
   GString *text;
   
   base = tmp = get_selection(curr_view);
@@ -94,7 +95,7 @@
 
   text = g_string_new("Total Size: ");
   if (total < 10240) /* less than 10K */
-    g_string_sprintfa(text, "%d bytes\n", total);
+    g_string_sprintfa(text, "%ld bytes\n", total);
   else if (total < 1048576) /* less than a meg */
     g_string_sprintfa(text, "%.2f Kbytes\n", (total / 1024.0));
   else



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C

Versions of packages emelfm depends on:
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libglib1.2                1.2.10-9       The GLib library of C routines
ii  libgtk1.2                 1.2.10-17      The GIMP Toolkit set of widgets fo
ii  libx11-6                  4.3.0.dfsg.1-4 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxi6                    4.3.0.dfsg.1-4 X Window System Input extension li
ii  xlibs                     4.3.0.dfsg.1-4 X Window System client libraries m

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.9.2-8+rm

You filed the bug http://bugs.debian.org/283519 in Debian BTS
against the package emelfm. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/364442. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply to: