]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Windows: set errno on CreateFileW failure 966/head
authorJohn Starks <jostarks@ntdev.microsoft.com>
Thu, 2 Nov 2017 17:03:28 +0000 (10:03 -0700)
committerJohn Starks <jostarks@ntdev.microsoft.com>
Thu, 2 Nov 2017 17:06:33 +0000 (10:06 -0700)
commit106556b97f00096766bd170e2adbaf1b10606dd1
tree6b21ec1b5d513b7624f03f49c89e5a2d2e4f9feb
parentd9d9d1683ec875fdf7abf21e0049bf285d9f9ec1
Windows: set errno on CreateFileW failure

When CreateFileW fails in next_entry(), it reads from errno to set the
archive error, but errno is not set by CreateFileW. Add a call to
la_dosmaperr to set errno properly first.
libarchive/archive_read_disk_windows.c