id summary reporter owner description type status priority milestone component version severity resolution keywords cc blockedby blocking 1494 DOSFS lseek extends file on seek past end Chris Johns Joel Sherrill "The DOSFS extends a file on a seek past the end of a file. The SUS states in the lseek page: ""The lseek() function shall not, by itself, extend the size of a file."" The file shall only be extended when a write occurs with the file at this position. An lseek past the end of a file should return EOF. There is also another bug. If a file is opened as read only then lseek is called past the end of the file the file will be extended." defect closed normal 4.10 fs 4.10 normal duplicate nbkolchin@…