Re: view growbuf read until() suggestion

2005-08-06 Thread Roland Illig
Pavel Tsekov wrote: Roland, you should know that the C standard is far less practical than an actual implementation. The intended audience of the standard is not application programmers but implementors. I think the last sentence is wrong. Application programmers _should_ be interested in the C

Re: view growbuf read until() suggestion

2005-08-06 Thread Roland Illig
Roland Illig wrote: Index: view.c === RCS file: /cvsroot/mc/mc/src/view.c,v retrieving revision 1.313 diff -u -p -r1.313 view.c Committed. Roland ___ Mc-devel mailing list http://mail.gn

Re: view growbuf read until() suggestion

2005-08-06 Thread Pavel Tsekov
Hello, > --- Ursprüngliche Nachricht --- > Von: Roland Illig > An: Pavel Tsekov > Betreff: Re: view growbuf read until() suggestion > Datum: Sat, 06 Aug 2005 04:03:05 +0200 > > Pavel Tsekov wrote: > > Of course you might still be right in assuming that fread() may r

Re: view growbuf read until() suggestion

2005-08-05 Thread Roland Illig
Pavel Tsekov wrote: Of course you might still be right in assuming that fread() may return less bytes than requested. I can imagine that it could happen with a fdopen()-ed FILE which has a file descriptor in non-blocking mode. This is of coure just speculation. Of course, calls to feof() and ferr

Re: view growbuf read until() suggestion

2005-08-05 Thread Pavel Tsekov
> Hello, > > > --- Ursprüngliche Nachricht --- > > Von: Roland Illig > > An: MC dev > > Betreff: Re: view_growbuf_read_until() suggestion > > Datum: Fri, 05 Aug 2005 18:53:42 +0200 > > > > Pavel Tsekov wrote: > > > I forgot to attach the patch in the original message. > > > > > > On Fri, 5 Aug 2

Re: view growbuf read until() suggestion

2005-08-05 Thread Pavel Tsekov
Hello, > --- Ursprüngliche Nachricht --- > Von: Roland Illig > An: MC dev > Betreff: Re: view_growbuf_read_until() suggestion > Datum: Fri, 05 Aug 2005 18:53:42 +0200 > > Pavel Tsekov wrote: > > I forgot to attach the patch in the original message. > > > > On Fri, 5 Aug 2005, Pavel Tsekov wrote: