Do not require exclusive read access when reading files under windows
Reenable developer cflags.
Fix build failure of example program because of __FBSDID define.
Fixes #283
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Set a default error message if message passed in is NULL.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Use correct define for libarchive version number in archive.h.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Set offset to correct data type.
Fixes #282
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Add a convenience function to sort a list of strings.
This is useful for sorting a list of filepaths to
multivolume RARs for example.
Redo the strings sorting function, allocate/free memory as needed.
This is the normal implementation of quicksort.
Made calls to the finish_entry callback optional
Merge pull request #38 from Leonidas-from-XIV/bugfix/optional-finish-entry

Make calls to the finish_entry callback optional
style fix
Test correct archive in test_extract_cpio_lzo test case.
mtree: fix line filename length calculation.
Fixes #301.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Add test case for adding pathnames with no leading './' in mtree format.
libarchive should add the leading './' for such pathnames.
Fix compiler warning from compiling with clang.
Assigning from a read-only variable to a regular variable will issue
a warning from clang.
Fix compile warning due to -Wcast-qual.
Allow adding extra CFLAGS with a configure option.
This is a convenience option to pass in extra CFLAGS without overriding other
CFLAGS.
Remove unnecessary use of arguments from AC_ARG_WITH([extra-cflags]).
Revert "Remove unnecessary use of arguments from AC_ARG_WITH([extra-cflags])."

This reverts commit 6a917dcd1378e2a50ece9f007e79a8a5058a59cb.
Revert "Allow adding extra CFLAGS with a configure option."

This reverts commit 64b3cefbdbc0d6deef1dd3bcde890e273c323168.

Apparently, setting CFLAGS won't override the preset AM_CFLAGS
afterall. Not sure why this was giving me a problem before.