Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed

2007-09-10 Thread Dmitry Potapov
On Mon, Sep 10, 2007 at 05:39:09PM +0100, Stephane Chazelas wrote: > Dmitry, your t.c in the debian report gives: > > On Solaris 8: [...] > On HPUX 11.11: [...] > > So they don't seem to care either to retry and send the data > if the first write() fails. Yes, it seems they purge all data in the

Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed

2007-09-10 Thread Dmitry Potapov
Hello Stephane, I was wrong about suggestion freopen("/dev/stdout") in my previous mail. It cannot be used to redirect stdout. Regards, Dmitry

Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed

2007-09-10 Thread Dmitry Potapov
Hi Stephane, On Mon, Sep 10, 2007 at 09:08:33AM +0100, Stephane Chazelas wrote: > thanks for replying, I gave a list in another email. I tried on > Solaris 7 and HPUX and both seem to flush the buffer upon an > unsuccessful fflush() I see... I wonder how they work in regard of my original problem

Re: Bug#429021: builtin echo command redirection misbehaves in detached scripts when terminal is closed

2007-09-10 Thread Dmitry Potapov
On Mon, Sep 10, 2007 at 12:05:57AM +0200, Aurelien Jarno wrote: > > I wouldn't be surprised if it has to do with the fix to debian > > bug #429021. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429021 > > (I'm CCing Dmitry who is the author of that change according to > > bugs.debian.org) > > >

Re: builtin echo command redirection misbehaves in detached scripts when terminal is closed

2007-09-10 Thread Dmitry Potapov
On Sun, Sep 09, 2007 at 10:18:07PM +0100, Stephane Chazelas wrote: > Now, I'm not sure if we can say that the new glibc behavior > observed is bogus (other than it's different from the behavior > observed in all the libcs I tried with). What libc have you tried? To me, the new behavior makes much