summaryrefslogtreecommitdiff
path: root/cpio
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT USE C++ style comments like // in C code !Björn Jacke2011-02-171-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 macrosTim Kientzle2011-02-133-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 Kientzle2011-02-111-2/+2
| | | | SVN-Revision: 2964
* Change mode and compress to int to match other option-processing variables.Tim Kientzle2011-02-111-3/+2
| | | | | | Remove unused symlink_mode var. SVN-Revision: 2963
* Additional information on test failures.Tim Kientzle2011-01-301-0/+6
| | | | SVN-Revision: 2954
* Issue 130: Typos and cross-reference errors in man pages.Tim Kientzle2011-01-261-1/+1
| | | | SVN-Revision: 2950
* Eliminate some warnings on Visual Studio.Michihiro NAKAJIMA2011-01-211-2/+2
| | | | SVN-Revision: 2932
* Set PATH_MAX to the size the 2nd argument of getcwd function instead of zero.Michihiro NAKAJIMA2011-01-121-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 Kientzle2010-11-201-1/+1
| | | | SVN-Revision: 2792
* Issue 114: Remove duplicate include.Tim Kientzle2010-11-111-3/+0
| | | | SVN-Revision: 2785
* Reconcile the test harnesses across libarchive, tar, and cpio.Tim Kientzle2010-10-312-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/gnameTim Kientzle2010-08-153-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 FathJoerg Sonnenberger2010-06-281-0/+16
| | | | SVN-Revision: 2511
* QNX needs stdint.h in the test cases as well.Joerg Sonnenberger2010-06-171-3/+2
| | | | | | From Sean Boudreau. SVN-Revision: 2482
* fix fwrites... remember, semi modern glibc's, the return on it is marked for ↵Brian Harring2010-05-111-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 -vTim Kientzle2010-05-011-0/+3
| | | | SVN-Revision: 2348
* Some Solaris systems seem to give root a gid of 1.Tim Kientzle2010-05-011-1/+1
| | | | SVN-Revision: 2347
* test cpio -0Tim Kientzle2010-05-012-0/+93
| | | | SVN-Revision: 2346
* Reorder sections to canonical order.Joerg Sonnenberger2010-04-121-2/+2
| | | | SVN-Revision: 2249
* Don't try to write a body if libarchive won't accept it.Tim Kientzle2010-04-111-1/+1
| | | | SVN-Revision: 2235
* Unbreak build on mingw.Michihiro NAKAJIMA2010-02-241-0/+4
| | | | SVN-Revision: 1971
* Document the various long options and use consistent markup.Joerg Sonnenberger2010-02-221-26/+27
| | | | SVN-Revision: 1963
* Correct the spelling of 'hierarchy'Tim Kientzle2010-02-201-1/+1
| | | | SVN-Revision: 1923
* Use archive_version_string() instead of archive_version().Tim Kientzle2010-02-171-1/+1
| | | | SVN-Revision: 1910
* Rename archive_read_finish to archive_read_free andTim Kientzle2010-02-081-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 Kientzle2010-01-313-3/+21
| | | | | | Submitted by: Philip Kizer SVN-Revision: 1849
* Return proper errors from archive_read_disk_entry_from_file() ifTim Kientzle2010-01-181-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 Kientzle2010-01-181-1/+1
| | | | SVN-Revision: 1832
* FreeBSD has <utime.h>Tim Kientzle2010-01-161-0/+1
| | | | SVN-Revision: 1823
* Don't warn if a UID can't be looked up. Apparently,Tim Kientzle2010-01-051-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 forTim Kientzle2010-01-031-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 Kientzle2009-12-271-6/+6
| | | | SVN-Revision: 1782
* Be more explicit about the expected line termination for the version string.Tim Kientzle2009-12-271-2/+2
| | | | SVN-Revision: 1781
* Assert contents for stderr; this might help track a bug that's showing upTim Kientzle2009-12-271-2/+7
| | | | | | in the CDash nightly tests. SVN-Revision: 1780
* Better error reporting when a file doesn't exist.Tim Kientzle2009-12-271-0/+6
| | | | SVN-Revision: 1779
* Eliminate more warnings on Borland C.Michihiro NAKAJIMA2009-12-222-1/+4
| | | | SVN-Revision: 1774
* Fix comparison of ino.Michihiro NAKAJIMA2009-12-211-1/+1
| | | | SVN-Revision: 1773
* Eliminate warnings on Visual Studio 10 W64.Michihiro NAKAJIMA2009-12-211-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 NAKAJIMA2009-12-211-1/+1
| | | | SVN-Revision: 1770
* On Borland C environment, both dirent.h and direct.h are available.Michihiro NAKAJIMA2009-12-201-1/+2
| | | | SVN-Revision: 1769
* Eliminate the warnings which Borland C Compiler complains about unused ↵Michihiro NAKAJIMA2009-12-201-0/+10
| | | | | | parameter. SVN-Revision: 1768
* Don't use _getcwd and _strdup on Borland C Compiler.Michihiro NAKAJIMA2009-12-181-0/+2
| | | | | | This is covering r1757. SVN-Revision: 1762
* On Windows, make sure not to leave empty directoriesMichihiro NAKAJIMA2009-12-181-1/+13
| | | | | | when tests are success. SVN-Revision: 1761
* Borland C does not provide _access,_chdir,_getcwd,_strdup and _umask.Michihiro NAKAJIMA2009-12-171-0/+6
| | | | SVN-Revision: 1757
* Fix indents.Michihiro NAKAJIMA2009-12-161-1/+1
| | | | SVN-Revision: 1756
* Avoid segv on linux64. It caused at second calling vfprintf() of vlogprintf()Michihiro NAKAJIMA2009-12-161-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 NAKAJIMA2009-12-161-1/+1
| | | | | | is defined. SVN-Revision: 1753
* Borland C++ does not provide sys/utime.h.Michihiro NAKAJIMA2009-12-162-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 NAKAJIMA2009-12-151-0/+3
| | | | SVN-Revision: 1738
* Not all Windows environments have sys/utime.h, so obey the configure check.Tim Kientzle2009-12-121-0/+2
| | | | SVN-Revision: 1728