diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-11-01 06:41:05 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-11-01 06:41:05 +0000 |
commit | b3577bdc654b444cf5278d5e25d6d1234df68f60 (patch) | |
tree | 83693408b3412dbe29059ecec6aaa60a00bfd27b /lib/libthr/thread/thr_init.c | |
parent | 2c6448ce6d1851408401481a4065f52658916af4 (diff) | |
download | FreeBSD-src-b3577bdc654b444cf5278d5e25d6d1234df68f60.zip FreeBSD-src-b3577bdc654b444cf5278d5e25d6d1234df68f60.tar.gz |
In mode 'u', check for an error return from archive_read_open.
This causes attempts to update a non-existent file to report
an actual error instead of triggering an assertion failure.
PR: bin/87911
Thanks to: roemer.ulrich
MFC after: 3 days
Note: This does not entirely fix bin/87911. I need to decide on
the "correct" response when someone tries to update a non-existent
archive file.
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
0 files changed, 0 insertions, 0 deletions