Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DO NOT USE C++ style comments like // in C code ! | Björn Jacke | 2011-02-17 | 1 | -2/+3 |
| | | | | | | | | Not all C compilers are happy with them, lxc on AIX for example. There are much more of them in the testing code but the ones fixed with this commit make at least the most important things compile. SVN-Revision: 2986 | ||||
* | Work around broken PSXCRT unistd.h, which defines macros | Tim Kientzle | 2011-02-13 | 3 | -17/+17 |
| | | | | | | that break any usage of names "optarg" or "option". SVN-Revision: 2979 | ||||
* | From Issue 138: properly cast before assigning unsigned long to int. | Tim Kientzle | 2011-02-11 | 1 | -2/+2 |
| | | | | SVN-Revision: 2964 | ||||
* | Change mode and compress to int to match other option-processing variables. | Tim Kientzle | 2011-02-11 | 1 | -3/+2 |
| | | | | | | Remove unused symlink_mode var. SVN-Revision: 2963 | ||||
* | Additional information on test failures. | Tim Kientzle | 2011-01-30 | 1 | -0/+6 |
| | | | | SVN-Revision: 2954 | ||||
* | Issue 130: Typos and cross-reference errors in man pages. | Tim Kientzle | 2011-01-26 | 1 | -1/+1 |
| | | | | SVN-Revision: 2950 | ||||
* | Eliminate some warnings on Visual Studio. | Michihiro NAKAJIMA | 2011-01-21 | 1 | -2/+2 |
| | | | | SVN-Revision: 2932 | ||||
* | Set PATH_MAX to the size the 2nd argument of getcwd function instead of zero. | Michihiro NAKAJIMA | 2011-01-12 | 1 | -0/+5 |
| | | | | | | | | If the size is zero, Solaris getcwd will return NULL because the size will be used for malloc argument as allocating memory size. SVN-Revision: 2879 | ||||
* | Fix a typo in the cpio test. | Tim Kientzle | 2010-11-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 2792 | ||||
* | Issue 114: Remove duplicate include. | Tim Kientzle | 2010-11-11 | 1 | -3/+0 |
| | | | | SVN-Revision: 2785 | ||||
* | Reconcile the test harnesses across libarchive, tar, and cpio. | Tim Kientzle | 2010-10-31 | 2 | -137/+265 |
| | | | | | | | | Remove almost all of the varargs capabilities from the various assertion helpers, since they complicate the code and are hardly ever used. SVN-Revision: 2772 | ||||
* | When -R is specified, make sure to clear the uname/gname | Tim Kientzle | 2010-08-15 | 3 | -4/+18 |
| | | | | | | | | fields. Add a TODO here for the -R parser to return usable uname/gname text (only useful for tar output, so not a huge priority right now). SVN-Revision: 2554 | ||||
* | Add two more cases where wcscmp is needed. From Hauke Fath | Joerg Sonnenberger | 2010-06-28 | 1 | -0/+16 |
| | | | | SVN-Revision: 2511 | ||||
* | QNX needs stdint.h in the test cases as well. | Joerg Sonnenberger | 2010-06-17 | 1 | -3/+2 |
| | | | | | | From Sean Boudreau. SVN-Revision: 2482 | ||||
* | fix fwrites... remember, semi modern glibc's, the return on it is marked for ↵ | Brian Harring | 2010-05-11 | 1 | -8/+8 |
| | | | | | | checking, thus when doing maintenance/dev builds (which converts warnings to errors) unchecked fwrites are compile failures SVN-Revision: 2382 | ||||
* | -vV is a synonym for -v | Tim Kientzle | 2010-05-01 | 1 | -0/+3 |
| | | | | SVN-Revision: 2348 | ||||
* | Some Solaris systems seem to give root a gid of 1. | Tim Kientzle | 2010-05-01 | 1 | -1/+1 |
| | | | | SVN-Revision: 2347 | ||||
* | test cpio -0 | Tim Kientzle | 2010-05-01 | 2 | -0/+93 |
| | | | | SVN-Revision: 2346 | ||||
* | Reorder sections to canonical order. | Joerg Sonnenberger | 2010-04-12 | 1 | -2/+2 |
| | | | | SVN-Revision: 2249 | ||||
* | Don't try to write a body if libarchive won't accept it. | Tim Kientzle | 2010-04-11 | 1 | -1/+1 |
| | | | | SVN-Revision: 2235 | ||||
* | Unbreak build on mingw. | Michihiro NAKAJIMA | 2010-02-24 | 1 | -0/+4 |
| | | | | SVN-Revision: 1971 | ||||
* | Document the various long options and use consistent markup. | Joerg Sonnenberger | 2010-02-22 | 1 | -26/+27 |
| | | | | SVN-Revision: 1963 | ||||
* | Correct the spelling of 'hierarchy' | Tim Kientzle | 2010-02-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 1923 | ||||
* | Use archive_version_string() instead of archive_version(). | Tim Kientzle | 2010-02-17 | 1 | -1/+1 |
| | | | | SVN-Revision: 1910 | ||||
* | Rename archive_read_finish to archive_read_free and | Tim Kientzle | 2010-02-08 | 1 | -5/+5 |
| | | | | | | | | | | | | | archive_write_finish to archive_write_free. Update all clients, tests, and documentation to use the new names exclusively. (Though I've not yet run a global search-and-replace against the Wiki. I'll do that shortly.) I've preserved the old names as aliases, scheduled to be removed with libarchive 4.x, so there is no immediate impact to existing code from this change. SVN-Revision: 1891 | ||||
* | Merge r203183 from svn.freebsd.org: Support -V option as in GNU cpio. | Tim Kientzle | 2010-01-31 | 3 | -3/+21 |
| | | | | | | Submitted by: Philip Kizer SVN-Revision: 1849 | ||||
* | Return proper errors from archive_read_disk_entry_from_file() if | Tim Kientzle | 2010-01-18 | 1 | -4/+10 |
| | | | | | | | | | you're asked for information about a non-existent file. Update cpio to actually use this properly to report errors for nonexistent files and exit with a delayed error if there were files that could not be read. SVN-Revision: 1833 | ||||
* | Windows resets atime at file close, so we can't use futimes() on Cygwin. | Tim Kientzle | 2010-01-18 | 1 | -1/+1 |
| | | | | SVN-Revision: 1832 | ||||
* | FreeBSD has <utime.h> | Tim Kientzle | 2010-01-16 | 1 | -0/+1 |
| | | | | SVN-Revision: 1823 | ||||
* | Don't warn if a UID can't be looked up. Apparently, | Tim Kientzle | 2010-01-05 | 1 | -1/+1 |
| | | | | | | | recent Mac OS versions return a bogus ENOENT error if a UID cannot be looked up on this system. SVN-Revision: 1804 | ||||
* | Issue 48: Instead of setting RUNTIME_OUTPUT_DIRECTORY separately for | Tim Kientzle | 2010-01-03 | 1 | -5/+0 |
| | | | | | | | | | each component, set CMAKE_RUNTIME_OUTPUT_DIRECTORY once at the top and let each component inherit that implicitly. This allows other projects that want to include libarchive to do so a little more simply. SVN-Revision: 1800 | ||||
* | Be more tolerant of end-of-line variations. | Tim Kientzle | 2009-12-27 | 1 | -6/+6 |
| | | | | SVN-Revision: 1782 | ||||
* | Be more explicit about the expected line termination for the version string. | Tim Kientzle | 2009-12-27 | 1 | -2/+2 |
| | | | | SVN-Revision: 1781 | ||||
* | Assert contents for stderr; this might help track a bug that's showing up | Tim Kientzle | 2009-12-27 | 1 | -2/+7 |
| | | | | | | in the CDash nightly tests. SVN-Revision: 1780 | ||||
* | Better error reporting when a file doesn't exist. | Tim Kientzle | 2009-12-27 | 1 | -0/+6 |
| | | | | SVN-Revision: 1779 | ||||
* | Eliminate more warnings on Borland C. | Michihiro NAKAJIMA | 2009-12-22 | 2 | -1/+4 |
| | | | | SVN-Revision: 1774 | ||||
* | Fix comparison of ino. | Michihiro NAKAJIMA | 2009-12-21 | 1 | -1/+1 |
| | | | | SVN-Revision: 1773 | ||||
* | Eliminate warnings on Visual Studio 10 W64. | Michihiro NAKAJIMA | 2009-12-21 | 1 | -2/+2 |
| | | | | | | | | On Win64, the size of 'int' is stil 4 bytes and the size of 'size_t' is 8 bytes. A conversion from 'size_t' to 'int', causes warning with compiling. SVN-Revision: 1772 | ||||
* | Eliminate the warnings of the conversion of types on Visual Studio. | Michihiro NAKAJIMA | 2009-12-21 | 1 | -1/+1 |
| | | | | SVN-Revision: 1770 | ||||
* | On Borland C environment, both dirent.h and direct.h are available. | Michihiro NAKAJIMA | 2009-12-20 | 1 | -1/+2 |
| | | | | SVN-Revision: 1769 | ||||
* | Eliminate the warnings which Borland C Compiler complains about unused ↵ | Michihiro NAKAJIMA | 2009-12-20 | 1 | -0/+10 |
| | | | | | | parameter. SVN-Revision: 1768 | ||||
* | Don't use _getcwd and _strdup on Borland C Compiler. | Michihiro NAKAJIMA | 2009-12-18 | 1 | -0/+2 |
| | | | | | | This is covering r1757. SVN-Revision: 1762 | ||||
* | On Windows, make sure not to leave empty directories | Michihiro NAKAJIMA | 2009-12-18 | 1 | -1/+13 |
| | | | | | | when tests are success. SVN-Revision: 1761 | ||||
* | Borland C does not provide _access,_chdir,_getcwd,_strdup and _umask. | Michihiro NAKAJIMA | 2009-12-17 | 1 | -0/+6 |
| | | | | SVN-Revision: 1757 | ||||
* | Fix indents. | Michihiro NAKAJIMA | 2009-12-16 | 1 | -1/+1 |
| | | | | SVN-Revision: 1756 | ||||
* | Avoid segv on linux64. It caused at second calling vfprintf() of vlogprintf() | Michihiro NAKAJIMA | 2009-12-16 | 1 | -0/+9 |
| | | | | | | | in */test/main.c. Use a copy of ap for second calling vfprintf(). SVN-Revision: 1755 | ||||
* | All of invalid_parameter_handler() are used only when HAVE__CrtSetReportMode ↵ | Michihiro NAKAJIMA | 2009-12-16 | 1 | -1/+1 |
| | | | | | | is defined. SVN-Revision: 1753 | ||||
* | Borland C++ does not provide sys/utime.h. | Michihiro NAKAJIMA | 2009-12-16 | 2 | -6/+6 |
| | | | | | | | Use macro HAVE_SYS_UTIME_H to include sys/utime.h and also use macro HAVE_UTIME_H to include utime.h. SVN-Revision: 1752 | ||||
* | Avoid build error on Visual Studio 10. | Michihiro NAKAJIMA | 2009-12-15 | 1 | -0/+3 |
| | | | | SVN-Revision: 1738 | ||||
* | Not all Windows environments have sys/utime.h, so obey the configure check. | Tim Kientzle | 2009-12-12 | 1 | -0/+2 |
| | | | | SVN-Revision: 1728 |