> > This means that glibc does not have to do anything about this, > > however, after a glance at the libio code, it seems to me that it > > would be possible to reposition the file position in _IO_new_fclose. > > This is no bug in glibc.
My intention was not to claim that the bug was in glibc but rather that the behavior is undefined thereby permitting glibc to react "kindly" in this situation. > Nobody must make any such assumption and if there is such code it > has to be fixed. I suggested that unbuffered input be used, would you agree that this is the best fix? _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils