Your message dated Sat, 12 Nov 2005 21:24:15 -0500
with message-id <[EMAIL PROTECTED]>
and subject line df doesn't play nice with electric fence
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)
--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Dec 2000 14:04:03 +0000
>From [EMAIL PROTECTED] Sat Dec 09 08:04:03 2000
Return-path: <[EMAIL PROTECTED]>
Received: from d14144.upc-d.chello.nl (amadeus.home.nl) [213.46.14.144] (root)
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 144kba-0003e4-00; Sat, 09 Dec 2000 08:04:02 -0600
Received: by fenrus.demon.nl
via sendmail from stdin
id <[EMAIL PROTECTED]> (Debian Smail3.2.0.102)
for [EMAIL PROTECTED]; Sat, 9 Dec 2000 15:03:55 +0100 (CET)
Date: Sat, 9 Dec 2000 15:03:55 +0100
From: Arjan van de Ven <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: df doesn't play nice with electric fence
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Delivered-To: [EMAIL PROTECTED]
Package: fileutils
Version: 4.0.32-1
"df" is not able to run with "electric fence" (efence, memory bound checker)
enabled. To reproduce:
$ export LD_PRELOAD=/usr/lib/libefence.so
$ df
<df aborts now>
The patch below fixes this.
Greetings,
Arjan van de Ven
--- src/df.c.org Sat Dec 9 14:42:54 2000
+++ src/df.c Sat Dec 9 14:43:10 2000
@@ -891,8 +891,11 @@
/* stat all the given entries to make sure they get automounted,
if necessary, before reading the filesystem table. */
- stats = (struct stat *)
- xmalloc ((argc - optind) * sizeof (struct stat));
+ if (argc!=optind)
+ stats = (struct stat *)
+ xmalloc ((argc - optind) * sizeof (struct stat));
+ else
+ stats = NULL;
for (i = optind; i < argc; ++i)
{
if (stat (argv[i], &stats[i - optind]))
---------------------------------------
Received: (at 79168-done) by bugs.debian.org; 13 Nov 2005 02:24:19 +0000
>From [EMAIL PROTECTED] Sat Nov 12 18:24:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from vms042pub.verizon.net ([206.46.252.42])
by spohr.debian.org with esmtp (Exim 4.50)
id 1Eb7XX-00011m-OD
for [EMAIL PROTECTED]; Sat, 12 Nov 2005 18:24:19 -0800
Received: from osgiliath.mathom.us ([70.108.64.202])
by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep
9 2005)) with ESMTPA id <[EMAIL PROTECTED]> for
[EMAIL PROTECTED]; Sat, 12 Nov 2005 20:24:15 -0600 (CST)
Received: from localhost (localhost [127.0.0.1])
by osgiliath.mathom.us (Postfix) with ESMTP id 41A076063FF for
<[EMAIL PROTECTED]>; Sat, 12 Nov 2005 21:24:15 -0500 (EST)
Received: from osgiliath.mathom.us ([127.0.0.1])
by localhost (osgiliath [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id 05382-02-9 for <[EMAIL PROTECTED]>; Sat,
12 Nov 2005 21:24:15 -0500 (EST)
Received: by osgiliath.mathom.us (Postfix, from userid 1000)
id 262986001D6; Sat, 12 Nov 2005 21:24:15 -0500 (EST)
Date: Sat, 12 Nov 2005 21:24:15 -0500
From: Michael Stone <[EMAIL PROTECTED]>
Subject: df doesn't play nice with electric fence
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-disposition: inline
X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mathom.us
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-1.5 required=4.0 tests=BAYES_10 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Version: 5.2.1-1
df runs with electric fence at least as far back as the sarge version.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]