Re: problems with gawk 3.1.5-3 hanging -- more info

2006-03-30 Thread David Carter
Igor Peshansky wrote: On Thu, 30 Mar 2006, David Carter wrote: It appears to me that by opening the file as O_TEXT, that gawk is hanging because it is waiting for that LF char to follow the CR (which never comes). Does this sound likely to you? If this theory were true, "echo -ne &

Re: problems with gawk 3.1.5-3 hanging -- more info

2006-03-30 Thread David Carter
ike to humbly submit that gawk shouldn't hang regardless of the input given to it. If the input isn't acceptable, perhaps it should error to stderr or some such and exit. Your thoughts? Again, I'll come up with a short shell script that reproduces the issue for you, and h

Re: problems with gawk 3.1.5-3 hanging -- more info

2006-03-30 Thread David Carter
the source code. I think the problem is the O_TEXT. If I change this to O_BINARY and recompile, everything works swimmingly. The question now is: should the file really be opened as O_TEXT, or as O_BINARY? Can anyone set me straight on this? Regards; David Carter -- Unsubscribe info:

problems with gawk 3.1.5-3 hanging

2006-03-30 Thread David Carter
t see anything going to stderr. Again, it works 100% of the time with 3.1.5-2 Does anyone have some pointers on how I can further debug this? I'd like to forward more information to the appropriate parties. Regards; David Carter -- Unsubscribe info: http://cygwin.com/ml