Gentoo Archives: gentoo-dev

From: Christian HOFFMANN <christian.hoffmann@××××.fr>
To: gentoo-dev@g.o, dillon@××××××××××××××××.com
Subject: [gentoo-dev] [BUG and PATCH] Does dcron need a space at the end of each
Date: Wed, 20 Mar 2002 16:06:13
Message-Id: 3C990FDD.8746.BCF3B4@localhost
1 I just fired gdb to find the source of this problem and found the source
2 of the problem being at line 178 of database.c
3
4 was: buf[strlen(ptr)-1] = 0;
5 is now on my system: buf[strlen(ptr)] = 0;
6
7 This line was chopping 2 char at the end of the line the last one of the
8 command and the newline. You have to remove one char but indexing
9 starts at 0 and strlen give the number of char.
10
11 I'm new to patch submission, howto ?
12
13 Regards
14
15 ------- Forwarded message follows -------
16 From: christian.hoffmann@××××.fr
17 To: gentoo-user@g.o
18 Subject: [gentoo-user] Does dcron need a space at
19 the end of each line in the crontab ?
20 Date sent: Tue, 19 Mar 2002 22:58:51 +0100
21
22 Hi,
23
24 I was trying to use dcron on my linux box and found it not working.
25
26 To make it work I had to add a space at each end of line in my crontab.
27
28 Is this "feature" documented somewhere or is it a bug ?
29
30 I use dcron-2.7-r7 with a 2.4.17-r5 kernel on a Gentoo Linux
31 distribution.
32
33
34
35 -----------------------------------------------
36 Christian HOFFMANN <christian.hoffmann@××××.fr>

Replies

Subject Author
[gentoo-dev] Re: [BUG and PATCH] Does dcron need a space at the end of each Matthew Dillon <dillon@××××××××××××××××.com>