mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
There are no more packages in community/ which require Python 2. As such, we can now move the python2 package to testing as well. This allows us to ship the upcoming Alpine 3.16 release without Python 2 support (see https://gitlab.alpinelinux.org/alpine/tsc/-/issues/40). As soon as we have fixed the remaining Python 2 packages in testing/ we can remove Python 2 from Alpine entirely. See #12740 for the current progress on these efforts. See also #11577 for the history on this.
11 lines
395 B
Diff
11 lines
395 B
Diff
--- ./Modules/fcntlmodule.c.orig
|
|
+++ ./Modules/fcntlmodule.c
|
|
@@ -118,7 +118,7 @@
|
|
int mutate_arg = 1;
|
|
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
|
|
|
|
- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl",
|
|
+ if (PyArg_ParseTuple(args, "O&Iw#|n:ioctl",
|
|
conv_descriptor, &fd, &code,
|
|
&str, &len, &mutate_arg)) {
|
|
char *arg;
|