56 changed = (opsys != unchanged_opsys || attributes != unchanged_attributes);
59 if (
e->changes ==
NULL) {
65 e->changes->version_madeby = (
zip_uint16_t)((opsys << 8) | (
e->changes->version_madeby & 0xff));
66 e->changes->ext_attrib = attributes;
69 else if (
e->changes) {
71 if (
e->changes->changed == 0) {
76 e->changes->version_madeby = (
zip_uint16_t)((unchanged_opsys << 8) | (
e->changes->version_madeby & 0xff));
77 e->changes->ext_attrib = unchanged_attributes;
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
#define ZIP_OPSYS_DEFAULT
static struct sockaddr static addrlen static backlog const void static flags void flags
zip_dirent_t * _zip_dirent_clone(const zip_dirent_t *sde)
zip_dirent_t * _zip_get_dirent(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error)
void _zip_dirent_free(zip_dirent_t *zde)
ZIP_EXTERN int zip_file_set_external_attributes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t opsys, zip_uint32_t attributes)
#define ZIP_DIRENT_ATTRIBUTES
#define ZIP_IS_RDONLY(za)
#define ZIP_EXT_ATTRIB_DEFAULT