mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
initial libzip upgrade patch to 0.10.1
This commit is contained in:
parent
7cae4ff02c
commit
335a11b14b
64 changed files with 2720 additions and 695 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
zip_stat_init.c -- initialize struct zip_stat.
|
||||
Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
|
||||
Copyright (C) 2006-2009 Dieter Baron and Thomas Klausner
|
||||
|
||||
This file is part of libzip, a library to manipulate ZIP archives.
|
||||
The authors can be contacted at <libzip@nih.at>
|
||||
|
@ -40,12 +40,13 @@
|
|||
ZIP_EXTERN(void)
|
||||
zip_stat_init(struct zip_stat *st)
|
||||
{
|
||||
st->valid = 0;
|
||||
st->name = NULL;
|
||||
st->index = -1;
|
||||
st->index = ZIP_UINT64_MAX;
|
||||
st->crc = 0;
|
||||
st->mtime = (time_t)-1;
|
||||
st->size = -1;
|
||||
st->comp_size = -1;
|
||||
st->size = 0;
|
||||
st->comp_size = 0;
|
||||
st->comp_method = ZIP_CM_STORE;
|
||||
st->encryption_method = ZIP_EM_NONE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue