publish changes
This commit is contained in:
parent
afc5064a7b
commit
ac2c6ac843
1605 changed files with 3354 additions and 3354 deletions
|
@ -212,7 +212,7 @@ static LHAExtHeaderType lha_ext_header_path = {
|
|||
// Windows FILETIME format. The timestamps have 100ns accuracy, which is
|
||||
// much more accurate than the normal Unix time_t format.
|
||||
|
||||
static int ext_header_windows_timestamps(LHAFileHeader *header,
|
||||
static int ext_header_arch_timestamps(LHAFileHeader *header,
|
||||
uint8_t *data,
|
||||
size_t data_len)
|
||||
{
|
||||
|
@ -224,9 +224,9 @@ static int ext_header_windows_timestamps(LHAFileHeader *header,
|
|||
return 1;
|
||||
}
|
||||
|
||||
static LHAExtHeaderType lha_ext_header_windows_timestamps = {
|
||||
static LHAExtHeaderType lha_ext_header_arch_timestamps = {
|
||||
LHA_EXT_HEADER_WINDOWS_TIMESTAMPS,
|
||||
ext_header_windows_timestamps,
|
||||
ext_header_arch_timestamps,
|
||||
24
|
||||
};
|
||||
|
||||
|
@ -388,7 +388,7 @@ static const LHAExtHeaderType *ext_header_types[] = {
|
|||
&lha_ext_header_unix_username,
|
||||
&lha_ext_header_unix_group,
|
||||
&lha_ext_header_unix_timestamp,
|
||||
&lha_ext_header_windows_timestamps,
|
||||
&lha_ext_header_arch_timestamps,
|
||||
&lha_ext_header_os9,
|
||||
};
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ int lha_arch_utime(char *filename, unsigned int timestamp);
|
|||
* @return Non-zero if set successfully.
|
||||
*/
|
||||
|
||||
int lha_arch_set_windows_timestamps(char *filename,
|
||||
int lha_arch_set_arch_timestamps(char *filename,
|
||||
uint64_t creation_time,
|
||||
uint64_t modification_time,
|
||||
uint64_t access_time);
|
||||
|
|
|
@ -28,7 +28,7 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#if LHA_ARCH == LHA_ARCH_WINDOWS
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
|
||||
|
@ -106,7 +106,7 @@ static int set_timestamps(char *filename,
|
|||
return result != 0;
|
||||
}
|
||||
|
||||
int lha_arch_set_windows_timestamps(char *filename,
|
||||
int lha_arch_set_arch_timestamps(char *filename,
|
||||
uint64_t creation_time,
|
||||
uint64_t modification_time,
|
||||
uint64_t access_time)
|
||||
|
|
|
@ -466,7 +466,7 @@ static int set_timestamps_from_header(char *path, LHAFileHeader *header)
|
|||
{
|
||||
#if LHA_ARCH == LHA_ARCH_WINDOWS
|
||||
if (LHA_FILE_HAVE_EXTRA(header, LHA_FILE_WINDOWS_TIMESTAMPS)) {
|
||||
return lha_arch_set_windows_timestamps(
|
||||
return lha_arch_set_arch_timestamps(
|
||||
path,
|
||||
header->win_creation_time,
|
||||
header->win_modification_time,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue