ID: h11 Name: fix_tapedev_hetfd Created: 12/16/2001 Based on: v2.15 Prereqs: none Just a minor fix to the dev->fd setting for HET files in tapedev.c. Actually, it's really not all TAHT minor. The device driver would never get called to close the file since the code responsible for this checks the dev->fd field for > 2 and, since the HET emulation doesn't use fds per se, it set the field to 1 to indicate the file was open. This has been changed to INT_MAX. That ought to do it. ;-) (A patch will be coming soon that does proper state checking, but this fix will do in the interim.) ===============================================================================