public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [BUG and PATCH] Does dcron need a space at the end of each
@ 2002-03-20 21:40 Christian HOFFMANN
  2002-03-21  2:12 ` [gentoo-dev] " Matthew Dillon
  0 siblings, 1 reply; 4+ messages in thread
From: Christian HOFFMANN @ 2002-03-20 21:40 UTC (permalink / raw
  To: gentoo-dev, dillon

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 <christian.hoffmann@noos.fr>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-03-22 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-20 21:40 [gentoo-dev] [BUG and PATCH] Does dcron need a space at the end of each Christian HOFFMANN
2002-03-21  2:12 ` [gentoo-dev] " Matthew Dillon
2002-03-21 20:34   ` Christian HOFFMANN
2002-03-22 19:59     ` Matthew Dillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox