public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christian HOFFMANN" <christian.hoffmann@noos.fr>
To: gentoo-dev@gentoo.org, dillon@apollo.backplane.com
Subject: [gentoo-dev] [BUG and PATCH] Does dcron need a space at the end of each
Date: Wed, 20 Mar 2002 22:40:29 +0100	[thread overview]
Message-ID: <3C990FDD.8746.BCF3B4@localhost> (raw)

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>



             reply	other threads:[~2002-03-20 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20 21:40 Christian HOFFMANN [this message]
2002-03-21  2:12 ` [gentoo-dev] Re: [BUG and PATCH] Does dcron need a space at the end of each Matthew Dillon
2002-03-21 20:34   ` Christian HOFFMANN
2002-03-22 19:59     ` Matthew Dillon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C990FDD.8746.BCF3B4@localhost \
    --to=christian.hoffmann@noos.fr \
    --cc=dillon@apollo.backplane.com \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox