From 273df095b6786454c48a8daa5c254daf3cf4027a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 21 Feb 2023 15:51:45 +0100 Subject: [PATCH] Remove unused file --- libzip-unix-time.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 libzip-unix-time.patch diff --git a/libzip-unix-time.patch b/libzip-unix-time.patch deleted file mode 100644 index 4183b366e..000000000 --- a/libzip-unix-time.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 26e8c76ca84999fa5c0e46a9fc3aa7de80be2e9c -Author: Eelco Dolstra -Date: Mon Oct 10 17:12:47 2022 +0200 - - Return time_t in the Unix epoch - -diff --git a/lib/zip_dirent.c b/lib/zip_dirent.c -index 7fd2f7ce..5c050b4c 100644 ---- a/lib/zip_dirent.c -+++ b/lib/zip_dirent.c -@@ -1018,7 +1018,7 @@ _zip_d2u_time(zip_uint16_t dtime, zip_uint16_t ddate) { - tm.tm_min = (dtime >> 5) & 63; - tm.tm_sec = (dtime << 1) & 62; - -- return mktime(&tm); -+ return timegm(&tm); - } - -