summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_disk_set_standard_lookup.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warning about unused cache variable (#804)Benjamin Sergeant2016-10-131-0/+2
| | | * Fix compiler warning about unused cache variable
* Comments: small spelling and grammar fixesColin Percival2015-06-011-1/+1
|
* Don't leak memory if realloc fails.Colin Percival2011-08-161-6/+14
| | | | | | Via: Tarsnap SVN-Revision: 3612
* remove stuff covered by #if ARCHIVE_VERSION_NUMBER < 3000000Roman Neuhauser2011-04-091-15/+0
| | | | | | | archive.h says #define ARCHIVE_VERSION_NUMBER 3000000, and it's not going to decrease. SVN-Revision: 3191
* Fall back to getgrgid and getpwuid if the reentrant versions are missing.Joerg Sonnenberger2010-06-191-0/+31
| | | | SVN-Revision: 2490
* Prepare for the 3.0 ABI by switching a bunch of uses of off_t, dev_t,Tim Kientzle2010-02-211-0/+15
| | | | | | | | 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
* Sync $FreeBSD$ version info from FreeBSD SVNTim Kientzle2009-12-301-1/+1
| | | | SVN-Revision: 1786
* Initialize passwd/group lookup resultBrad King2009-11-161-0/+2
| | | | | | | | | 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
* Dynamically size the buffer used for getpwuid_r andTim Kientzle2009-04-041-6/+47
| | | | | | | | | 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
* Pass the cache storage all the way down to theTim Kientzle2009-04-041-10/+10
| | | | | | lookup helper functions. SVN-Revision: 916
* Minor adjustment to uname/gname lookup: Bump the bufferTim Kientzle2009-04-011-4/+4
| | | | | | | size to 128 bytes. The buffer should be allocated dynamically here. SVN-Revision: 907
* Issue 15, part 1. Mechanical conversion of #defines, libarchive/Charles Wilson2009-03-171-3/+3
| | | | | | | | | | | | #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
* Include a newline at end of file.Tim Kientzle2009-01-101-1/+1
| | | | SVN-Revision: 415
* On Windows, now archive_read_disk_set_standard_lookup.c is linked.Michihiro NAKAJIMA2009-01-071-0/+9
| | | | | | | | | | | | 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
* Start of archive_read_disk API.Tim Kientzle2009-01-071-0/+220
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