Your message dated Tue, 8 Dec 2009 15:02:27 +0100
with message-id <20091208140227.gc11...@rene-engelhard.de>
has caused the report #558381,
regarding multitail: Assertion failure when file does not exist
to be marked as having been forwarded to the upstream software
author(s) folk...@vanheusden.com
(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 ow...@bugs.debian.org
immediately.)
--
558381: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558381
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hi Folkert,
I received the following patch for Debian Bug #558381
(http://bugs.debian.org/558381);
maybe you want to have a look and include it?
Regards,
Rene
----- Forwarded message from Thomas Adam <thomas.a...@smoothwall.net> -----
Subject: Bug#558381: multitail: Produces an error when using a non-existent file
Reply-To: Thomas Adam <thomas.a...@smoothwall.net>, 558...@bugs.debian.org
Date: Mon, 7 Dec 2009 13:52:20 +0000
From: Thomas Adam <thomas.a...@smoothwall.net>
To: Tim Retout <t...@retout.co.uk>
Cc: 558...@bugs.debian.org, Imran Chaudhry <ichaud...@gmail.com>
Organization: SmoothWall
X-Mailer: Claws Mail 3.5.0 (GTK+ 2.18.3; i486-pc-linux-gnu)
On Wed, 02 Dec 2009 15:19:05 +0000
Tim Retout <t...@retout.co.uk> wrote:
> reopen 558381
> retitle 558381 multitail: Assertion failure when file does not exist
> severity 558381 minor
> thanks
>
> (Let's try this again, you all suck, etc.)
>
> Thomas: Please send your patch for this bug.
See attached patch: mulitail-no-assert-on-missing-file.patch
I originally wrote this ages ago, haven't tried it against current
multitail sources though.
--
Thomas Adam
Senior Developer
SmoothWall Ltd
1 John Charles Way
Leeds LS12 6QA
United Kingdom
1 800 959 3760 (USA, Canada and North America)
0870 1 999 500 (United Kingdom)
+44 870 1 999 500 (All other countries)
SmoothWall is registered in England: 4298247
This email and any attachments transmitted with it are confidential
to the intended recipient(s) and may not be communicated to any
other person or published by any means without the permission of
SmoothWall Limited. Any opinions stated in this message are solely
those of the author. See: http://smoothwall.net/company/email.php
for the full text of this notice.
----- End forwarded message -----
Grüße/Regards,
Rene
--
.''`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' r...@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70
--- multitail-5.1.2/cmdline.c 2009-06-29 10:39:38.000000000 +0100
+++ /global/users/thomas/cmdline.c 2009-06-29 10:41:13.000000000 +0100
@@ -996,7 +996,13 @@
/* see if file exists */
if (check_interval == 0 && is_cmd == 0 && is_stdin == 0 && is_sock == 0 && retry == 0 && stat64(dummy, &buf) == -1)
{
- error_exit(__FILE__, __PRETTY_FUNCTION__, __LINE__, "Error opening file %s.\n", dummy);
+ /* TA: (2009/06/29): Is this really necessary? Seems a
+ * bit drastic. Changing it to a fprintf/exit clause.
+ */
+ /*error_exit(__FILE__, __PRETTY_FUNCTION__, __LINE__, "Error opening file %s.\n", dummy);*/
+
+ fprintf(stderr, "Couldn't find file: %s -- Quitting.\n", dummy);
+ exit (EXIT_FAILURE);
}
/* init. struct. for this file */
--- End Message ---