commit: b278938808573dd313fd94bd9957553e5c52aaba Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Tue Apr 29 18:03:51 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Thu May 1 01:01:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2789388
dev-gap/io: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> .../io/files/io-4.8.2-fix-failed-assertion.patch | 35 ---------------------- 1 file changed, 35 deletions(-) diff --git a/dev-gap/io/files/io-4.8.2-fix-failed-assertion.patch b/dev-gap/io/files/io-4.8.2-fix-failed-assertion.patch deleted file mode 100644 index 059cc3387b2b..000000000000 --- a/dev-gap/io/files/io-4.8.2-fix-failed-assertion.patch +++ /dev/null @@ -1,35 +0,0 @@ -From edfbed91b1c98abbed7c57463b88a1e8e134f2c3 Mon Sep 17 00:00:00 2001 -From: Chris Jefferson <[email protected]> -Date: Wed, 24 Jan 2024 11:18:09 +0800 -Subject: [PATCH] Check arguments to IO_gmtime and IO_localtime - ---- - src/io.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/src/io.c b/src/io.c -index 731880e..2a1536e 100644 ---- a/src/io.c -+++ b/src/io.c -@@ -1777,6 +1777,10 @@ static Obj FuncIO_gmtime(Obj self, Obj time) - Obj tmp; - time_t t; - struct tm * s; -+ if (!IS_INT(time)) { -+ SyClearErrorNo(); -+ return Fail; -+ } - if (!IS_INTOBJ(time)) { - tmp = QuoInt(time, INTOBJ_INT(256)); - if (!IS_INTOBJ(tmp)) -@@ -1808,6 +1812,10 @@ static Obj FuncIO_localtime(Obj self, Obj time) - Obj tmp; - time_t t; - struct tm * s; -+ if (!IS_INT(time)) { -+ SyClearErrorNo(); -+ return Fail; -+ } - if (!IS_INTOBJ(time)) { - tmp = QuoInt(time, INTOBJ_INT(256)); - if (!IS_INTOBJ(tmp))
