Re: Nice "bug" to loose a contest

2007-04-09 Thread azi . stdout
On Apr 8, 1:40 pm, "aspineux" <[EMAIL PROTECTED]> wrote: > This code works like the python one, > I dont use buffered stdio f... functions, > but the more 'system call' read and write > > int main() > { > char buf[120]; > int len; > > while (len=read(1, buf, sizeof(buf))) { > wr

Re: Nice "bug" to loose a contest

2007-04-09 Thread azi . stdout
On Apr 9, 2:47 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Mon, 09 Apr 2007 09:19:16 -0300, <[EMAIL PROTECTED]> escribió: > > > Yeah, I've noticed that too, altough I'm clueless on how stdio handles > > that differently. Now I'm wondering, what's the behaviour of the > > Python snippet