]> wimlib.net Git - wimlib/commit
Replace WIMLIB_OPEN_FLAG_SPLIT_OK with WIMLIB_OPEN_FLAG_ERROR_IF_SPLIT
authorEric Biggers <ebiggers3@gmail.com>
Sun, 1 Sep 2013 06:23:44 +0000 (01:23 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 1 Sep 2013 06:23:44 +0000 (01:23 -0500)
commitdf1050ef86e54f027912a15fe60bf67c8ab43d2c
tree98a85f80193beaea82f9267b081c627e3c3025bc
parent888cb65de7d0bd6c14c2247288244ed42f8754aa
Replace WIMLIB_OPEN_FLAG_SPLIT_OK with WIMLIB_OPEN_FLAG_ERROR_IF_SPLIT

Having to specify a special flag to open split WIM parts is no longer very
useful, since error codes will be automatically be issued when needed metadata
or file resources are not found, and this flag wouldn't affect delta WIMs which
resemble split WIMs anyway, and clients could just check themselves whether a
WIM is split.  Therefore, make the default be like WIMLIB_OPEN_FLAG_SPLIT_OK,
but for completeness offer a flag WIMLIB_OPEN_FLAG_ERROR_IF_SPLIT to get
behavior like the old default.

Also updated the documentation in wimlib.h.
include/wimlib.h
programs/imagex.c
src/export_image.c
src/extract.c
src/join.c
src/lookup_table.c
src/split.c
src/util.c
src/wim.c