mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 10:21:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			395 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 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;
 |