mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 15:32:45 +00:00
Argh. Restore a stat() call that was erroneously removed.
Thanks to: WATANABE, Kazuo Pointy hat: me, from the handy dispenser I keep nearby.
This commit is contained in:
parent
63d8511da8
commit
5af1711729
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164868
@ -118,6 +118,12 @@ file_open(struct archive *a, void *client_data)
|
|||||||
archive_write_set_bytes_in_last_block(a, 0);
|
archive_write_set_bytes_in_last_block(a, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fstat(mine->fd, &st) != 0) {
|
||||||
|
archive_set_error(a, errno, "Couldn't stat '%s'",
|
||||||
|
mine->filename);
|
||||||
|
return (ARCHIVE_FATAL);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set up default last block handling.
|
* Set up default last block handling.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user