------- Comment #5 from michael dot e dot olsen at nasa dot gov 2008-07-25 22:51 ------- Created an attachment (id=15964) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15964&action=view) Version showing iostat isn't distinguishing either.
This version is a little more involved, and opens and closes the file to create error and end conditions. iostat allways returns 0 for normal cases, and -1 for either end or error conditions -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36942