Re: svn commit: r231449 - head/usr.bin/tee

2012-03-17 Thread David Schultz
On Fri, Feb 10, 2012, Martin Cracauer wrote: > Author: cracauer > Date: Fri Feb 10 22:16:17 2012 > New Revision: 231449 > URL: http://svn.freebsd.org/changeset/base/231449 > > Log: > Fix bin/164947: tee looses data when writing to non-blocking file > descriptors > > tee was not handling EA

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-16 Thread Bruce Evans
On Sun, 12 Feb 2012, Bruce Evans wrote: BTW, one of the many bugs in the tty driver in -current is that it no longer does watermark processing for select() and poll(), so it reads and writes tinygrams even when polled using select() and poll() (and there is no better way). I use the following q

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-11 Thread Bruce Evans
On Sat, 11 Feb 2012, Martin Cracauer wrote: I (kinda) knew I shouldn't have tried to do this real quick before leaving for a trip. I reverted the change and I'll fix the concerns including the commit message when I'm back in a week. Now I also want to know what exactly is going on in bash ther

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-11 Thread Martin Cracauer
I (kinda) knew I shouldn't have tried to do this real quick before leaving for a trip. I reverted the change and I'll fix the concerns including the commit message when I'm back in a week. Now I also want to know what exactly is going on in bash there, the difference between the explicit named pi

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-11 Thread Bruce Evans
On Fri, 10 Feb 2012, Martin Cracauer wrote: Log: Fix bin/164947: tee looses data when writing to non-blocking file descriptors tee was not handling EAGAIN patch submitted by Diomidis Spinellis . Thanks so much reproduced and re-tested locally This seems to give a buffer overrun (apart f

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-10 Thread Eitan Adler
On Fri, Feb 10, 2012 at 5:16 PM, Martin Cracauer wrote: > Author: cracauer > Date: Fri Feb 10 22:16:17 2012 > New Revision: 231449 > URL: http://svn.freebsd.org/changeset/base/231449 > > Log: >  Fix bin/164947: tee looses data when writing to non-blocking file descriptors >  tee was not handling E

svn commit: r231449 - head/usr.bin/tee

2012-02-10 Thread Martin Cracauer
Author: cracauer Date: Fri Feb 10 22:16:17 2012 New Revision: 231449 URL: http://svn.freebsd.org/changeset/base/231449 Log: Fix bin/164947: tee looses data when writing to non-blocking file descriptors tee was not handling EAGAIN patch submitted by Diomidis Spinellis . Thanks so much