diff: eliminate a useless lseek
fdopen with the "r" already position the stream at the beginning of the file.
This commit is contained in:
parent
c440e7870a
commit
fa977a3b2b
@ -491,7 +491,6 @@ opentemp(const char *f)
|
||||
}
|
||||
}
|
||||
close(ifd);
|
||||
lseek(ofd, (off_t)0, SEEK_SET);
|
||||
return (fdopen(ofd, "r"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user