Re: Slight patch for Cron

2003-06-05 Thread Ronald Landheer-Cieslak
On Wed, 4 Jun 2003, Corinna Vinschen wrote: > On Wed, Jun 04, 2003 at 09:53:05AM +0200, Ronald Landheer-Cieslak wrote: > > On Tue, 3 Jun 2003, Corinna Vinschen wrote: > > > Does it help to set CYGWIN=notty before starting cron? > > Apparently not, no. > > > > Because I'm starting cron from the "st

RE: Slight patch for Cron

2003-06-06 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Christopher Faylor > On Tue, Jun 03, 2003 at 11:33:48AM +0200, Hannu E K Nevalainen > (garbage mail) wrote: > > Please, next time make the filename extension be *-patch.txt or > some such. > > 1) *.patch is bound to Corel Draw/Photop

Re: Slight patch for Cron

2003-06-06 Thread Corinna Vinschen
On Thu, Jun 05, 2003 at 01:01:19PM +0200, Ronald Landheer-Cieslak wrote: > On Wed, 4 Jun 2003, Corinna Vinschen wrote: > > On Wed, Jun 04, 2003 at 09:53:05AM +0200, Ronald Landheer-Cieslak wrote: > > > On Tue, 3 Jun 2003, Corinna Vinschen wrote: > > > > Does it help to set CYGWIN=notty before start

RE: Slight patch for Cron

2003-06-03 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Ronald Landheer-Cieslak > I've "developed" an insignificant patch to cron (attached) that > makes cron detach from the console before forking out (under Cygwin only). > The patch is against the current release's source and WFM. Plea

Re: Slight patch for Cron

2003-06-03 Thread Corinna Vinschen
On Tue, Jun 03, 2003 at 10:31:05AM +0200, Ronald Landheer-Cieslak wrote: > I've "developed" an insignificant patch to cron (attached) that makes cron > detach from the console before forking out (under Cygwin only). The patch > is against the current release's source and WFM. Did you try a recen

Re: Slight patch for Cron

2003-06-04 Thread Christopher Faylor
On Tue, Jun 03, 2003 at 11:33:48AM +0200, Hannu E K Nevalainen (garbage mail) wrote: >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf >> Of Ronald Landheer-Cieslak > >> I've "developed" an insignificant patch to cron (attached) that >> makes cron detach from the console before forking ou

RE: Slight patch for Cron

2003-06-04 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Christopher Faylor > On Tue, Jun 03, 2003 at 11:33:48AM +0200, Hannu E K Nevalainen > (garbage mail) wrote: >> Please, next time make the filename extension be *-patch.txt or >> some such. > This is not necessary. .patch is a perfe

Re: Slight patch for Cron

2003-06-04 Thread Ronald Landheer-Cieslak
Hi Corinna, On Tue, 3 Jun 2003, Corinna Vinschen wrote: > On Tue, Jun 03, 2003 at 10:31:05AM +0200, Ronald Landheer-Cieslak wrote: > > I've "developed" an insignificant patch to cron (attached) that makes > > cron detach from the console before forking out (under Cygwin only). > > The patch is ag

Re: Slight patch for Cron

2003-06-04 Thread Ronald Landheer-Cieslak
On Tue, 3 Jun 2003, Ronald Landheer-Cieslak wrote: > On Tue, 3 Jun 2003, Corinna Vinschen wrote: > > On Tue, Jun 03, 2003 at 10:31:05AM +0200, Ronald Landheer-Cieslak wrote: > > > I've "developed" an insignificant patch to cron (attached) that makes > > > cron detach from the console before forking

Re: Slight patch for Cron

2003-06-04 Thread Corinna Vinschen
On Tue, Jun 03, 2003 at 06:44:19PM +0200, Ronald Landheer-Cieslak wrote: > On Tue, 3 Jun 2003, Ronald Landheer-Cieslak wrote: > > On Tue, 3 Jun 2003, Corinna Vinschen wrote: > > > On Tue, Jun 03, 2003 at 10:31:05AM +0200, Ronald Landheer-Cieslak wrote: > > > > I've "developed" an insignificant patc

Re: Slight patch for Cron

2003-06-04 Thread Ronald Landheer-Cieslak
On Tue, 3 Jun 2003, Corinna Vinschen wrote: > On Tue, Jun 03, 2003 at 06:44:19PM +0200, Ronald Landheer-Cieslak wrote: > > On Tue, 3 Jun 2003, Ronald Landheer-Cieslak wrote: > > > On Tue, 3 Jun 2003, Corinna Vinschen wrote: > > > > On Tue, Jun 03, 2003 at 10:31:05AM +0200, Ronald Landheer-Cieslak w

Re: Slight patch for Cron

2003-06-05 Thread Corinna Vinschen
On Wed, Jun 04, 2003 at 09:53:05AM +0200, Ronald Landheer-Cieslak wrote: > On Tue, 3 Jun 2003, Corinna Vinschen wrote: > > Does it help to set CYGWIN=notty before starting cron? > Apparently not, no. > > Because I'm starting cron from the "startup" part of the start menu, I had > to run it from a

Re: Slight patch for Cron

2003-06-10 Thread Ronald Landheer-Cieslak
Works like a charm :) Thanks! rlc On Fri, 6 Jun 2003, Corinna Vinschen wrote: > On Thu, Jun 05, 2003 at 01:01:19PM +0200, Ronald Landheer-Cieslak wrote: > > On Wed, 4 Jun 2003, Corinna Vinschen wrote: > > > On Wed, Jun 04, 2003 at 09:53:05AM +0200, Ronald Landheer-Cieslak wrote: > > > > On Tue,

Re: Slight patch for Cron

2003-06-10 Thread Corinna Vinschen
On Tue, Jun 10, 2003 at 11:18:38AM +0200, Ronald Landheer-Cieslak wrote: > Works like a charm :) Thanks, I've uploaded a new version. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red

Re: Slight patch for Cron

2003-06-10 Thread Bjoern Kahl AG Resy
( replying to the wrong mail-in-thread ) ( because missed the original posting ) On Tue, 10 Jun 2003, Ronald Landheer-Cieslak wrote: > > Index: cron.c > > === > > RCS file: /home/cvs/cvsroot/src/cron/cron.c,v > > retrieving revi

Re: Slight patch for Cron

2003-06-10 Thread Corinna Vinschen
On Tue, Jun 10, 2003 at 11:52:57AM +0200, Bjoern Kahl AG Resy wrote: > > > +#ifdef __CYGWIN__ > > > + { > > > + int fd; > > > + if ((fd = open("/dev/null", O_RDWR, 0)) != -1) > > > + { > > > + (void)dup2(fd, STDIN_FILENO); > > > + (void)dup2(fd, STDOUT_FILENO); > > > + (vo