43 int old_is_dir, new_is_dir;
59 old_is_dir = (old_name[strlen(old_name) - 1] ==
'/');
61 if (new_is_dir != old_is_dir) {
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
ZIP_EXTERN const char *_Nullable zip_get_name(zip_t *_Nonnull, zip_uint64_t, zip_flags_t)
static struct sockaddr static addrlen static backlog const void static flags void flags
ZIP_EXTERN int zip_file_rename(zip_t *za, zip_uint64_t idx, const char *name, zip_flags_t flags)
int _zip_set_name(zip_t *za, zip_uint64_t idx, const char *name, zip_flags_t flags)
#define ZIP_IS_RDONLY(za)