From: Michael Tremer Date: Sat, 22 Apr 2023 09:35:56 +0000 (+0000) Subject: _pakfire: Define PY_SSIZE_T_CLEAN X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e77b8975d855c9d02856e38346aeba65cbddf7db;p=people%2Fstevee%2Fpakfire.git _pakfire: Define PY_SSIZE_T_CLEAN https://docs.python.org/3/c-api/intro.html Signed-off-by: Michael Tremer --- diff --git a/src/_pakfire/archive.c b/src/_pakfire/archive.c index 012d5732..348334ba 100644 --- a/src/_pakfire/archive.c +++ b/src/_pakfire/archive.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/file.c b/src/_pakfire/file.c index d2e4c285..4d6ea329 100644 --- a/src/_pakfire/file.c +++ b/src/_pakfire/file.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/key.c b/src/_pakfire/key.c index 90fa9ee7..e7c6f52b 100644 --- a/src/_pakfire/key.c +++ b/src/_pakfire/key.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/package.c b/src/_pakfire/package.c index 460d0281..1e7f48ef 100644 --- a/src/_pakfire/package.c +++ b/src/_pakfire/package.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/problem.c b/src/_pakfire/problem.c index 6d17ed9b..323cc97b 100644 --- a/src/_pakfire/problem.c +++ b/src/_pakfire/problem.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/progressbar.c b/src/_pakfire/progressbar.c index 70f90d06..35dc840e 100644 --- a/src/_pakfire/progressbar.c +++ b/src/_pakfire/progressbar.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/repo.c b/src/_pakfire/repo.c index 4b7024bc..497185ae 100644 --- a/src/_pakfire/repo.c +++ b/src/_pakfire/repo.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/solution.c b/src/_pakfire/solution.c index b0315cd7..4a3edd2b 100644 --- a/src/_pakfire/solution.c +++ b/src/_pakfire/solution.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/util.c b/src/_pakfire/util.c index 3f2cc0eb..f0842b10 100644 --- a/src/_pakfire/util.c +++ b/src/_pakfire/util.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include