| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
* Fix compiler warning about unused cache variable
|
| |
|
|
|
|
|
|
| |
Via: Tarsnap
SVN-Revision: 3612
|
|
|
|
|
|
|
| |
archive.h says #define ARCHIVE_VERSION_NUMBER 3000000, and it's
not going to decrease.
SVN-Revision: 3191
|
|
|
|
| |
SVN-Revision: 2490
|
|
|
|
|
|
|
|
| |
ino_t, uid_t, and gid_t to use int64_t instead. These are all
conditional on ARCHIVE_VERSION_NUMBER >= 3000000 so we still have the
option of cutting a 2.9 release with the old ABI.
SVN-Revision: 1945
|
|
|
|
| |
SVN-Revision: 1786
|
|
|
|
|
|
|
|
|
| |
The "result" argument to functions get(pwu|grg)id_r and get(pw|gr)name_r
does not appear in the signatures provided on older platforms. We set
the pointer to the result memory in case the function ignores it, thus
ensuring initialization.
SVN-Revision: 1658
|
|
|
|
|
|
|
|
|
| |
getgrgid_r. We allocate an initial buffer early
and then double it whenever we learn it is too small.
By keeping the buffer in the persistent cache state,
the cost should be very small.
SVN-Revision: 917
|
|
|
|
|
|
| |
lookup helper functions.
SVN-Revision: 916
|
|
|
|
|
|
|
| |
size to 128 bytes. The buffer should be allocated dynamically
here.
SVN-Revision: 907
|
|
|
|
|
|
|
|
|
|
|
|
| |
#ifdef _WIN32 --> #if defined(_WIN32) && !defined(__CYGWIN__)
#ifndef _WIN32 --> #if !defined(_WIN32) || defined(__CYGWIN__)
Exceptions to the general rule:
libarchive/archive.h: we want declspec for both
libarchive/archive_entry.h: ditto
libarchive/archive_write_disk.c: we want to fix backslashs,
and to use cleanup_pathname_win on both.
SVN-Revision: 787
|
|
|
|
| |
SVN-Revision: 415
|
|
|
|
|
|
|
|
|
|
|
|
| |
We call archive_read_disk_set_standard_lookup() function on
libarchive_test again, and check a value which that function
returns to what the feature is available.
This aims that programs which use libarchive shouldn't have to
to know what features are available on a particular platform.
Suggested by Tim
SVN-Revision: 402
|
|
Right now, this is just a handle for username/group name lookups
and the associated caches. Soon, this will hold machinery to
populate archive_entry objects from files on disk (which relies
on efficient uname/gname lookups).
SVN-Revision: 399
|