| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In expressions of the form
m != NULL && m[0] == '\0' ? NULL : m
the goal is to get a `NULL` pointer if `m` is either `NULL` or an empty
string. This is not clear because in the `m == NULL` case we use the
`m` side to get `NULL` instead of an explicit `NULL`. Clarify the
intent by using the form
(m != NULL && m[0] != '\0') ? m : NULL;
instead.
|
|
|
|
|
| |
a specfied module name and the option name is wrong and filter names
do not matche the specfied module name.
|
|
|
|
|
| |
variables to set default options to writing or reading archives with
bsdtar.
|
|
|
|
| |
Properly set a clear error message when archive_{write,read}_set_options failed.
|
|
* New functions archive_{read,write}_set_{format,filter}_option accept
three strings: module name, option name, value.
This is a better match for C clients of the library, who want
to set one option at a time anyway for better error handling.
* archive_{read,write}_set_options still accept a single string
with possibly multiple options, but are now much simpler internally
because they build on the above.
* New tests for all of the above.
* Update a lot of tests to give good coverage of the new functions.
SVN-Revision: 3026
|