|
From: | Jim Hart |
Subject: | ERRNO not getting cleared |
Date: | Sun, 12 Oct 2003 07:56:26 -0400 |
localhost ~/lib bash2.05$ awk 'BEGIN{close("something");print ERRNO;"ls"|getline;print $0;print ERRNO}'
close of redirection that was never opened Makefile close of redirection that was never opened localhost ~/lib bash2.05$ awk --version GNU Awk 3.1.1As the above code snippet demonstrates, the ERRNO variable isn't getting cleared when a related I/O is successful. I apologize if this is already fixed in a newer version.
[Prev in Thread] | Current Thread | [Next in Thread] |