From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from smtp.noos.fr (verlaine.noos.net [212.198.2.73]) by chiba.3jane.net (Postfix) with ESMTP id DDE142019F83 for ; Wed, 20 Mar 2002 16:06:13 -0600 (CST) Received: (qmail 29202408 invoked by uid 0); 20 Mar 2002 21:40:29 -0000 Received: from unknown (HELO slow-dual) ([212.198.88.236]) (envelope-sender ) by 212.198.2.73 (qmail-ldap-1.03) with SMTP for ; 20 Mar 2002 21:40:29 -0000 From: "Christian HOFFMANN" To: gentoo-dev@gentoo.org, dillon@apollo.backplane.com Date: Wed, 20 Mar 2002 22:40:29 +0100 MIME-Version: 1.0 Message-ID: <3C990FDD.8746.BCF3B4@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: [gentoo-dev] [BUG and PATCH] Does dcron need a space at the end of each Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 80b75133-7d20-4c2b-bec0-0a7634a95b89 X-Archives-Hash: 4cd2fb1cbef72c8f4f5ef5ec28e902b0 I just fired gdb to find the source of this problem and found the source of the problem being at line 178 of database.c was: buf[strlen(ptr)-1] = 0; is now on my system: buf[strlen(ptr)] = 0; This line was chopping 2 char at the end of the line the last one of the command and the newline. You have to remove one char but indexing starts at 0 and strlen give the number of char. I'm new to patch submission, howto ? Regards ------- Forwarded message follows ------- From: christian.hoffmann@noos.fr To: gentoo-user@gentoo.org Subject: [gentoo-user] Does dcron need a space at the end of each line in the crontab ? Date sent: Tue, 19 Mar 2002 22:58:51 +0100 Hi, I was trying to use dcron on my linux box and found it not working. To make it work I had to add a space at each end of line in my crontab. Is this "feature" documented somewhere or is it a bug ? I use dcron-2.7-r7 with a 2.4.17-r5 kernel on a Gentoo Linux distribution. ----------------------------------------------- Christian HOFFMANN