rpms/perl/FC-4 perl-5.8.6-bz185242.patch,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Mar 13 21:36:38 UTC 2006


Author: jvdias

Update of /cvs/dist/rpms/perl/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv7587

Added Files:
	perl-5.8.6-bz185242.patch 
Log Message:
fix bug 185242: ioctl 3rd arg length defaults to 256 if not specified

perl-5.8.6-bz185242.patch:
 perl.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE perl-5.8.6-bz185242.patch ---
--- perl-5.8.6/perl.h.bz185242	2006-03-13 12:52:42.000000000 -0500
+++ perl-5.8.6/perl.h	2006-03-13 13:12:44.000000000 -0500
@@ -2265,7 +2265,7 @@
 #   else
 #	ifdef _IOC_SIZE
 		/* on Linux systems we're safe */
-#		define IOCPARM_LEN(x) _IOC_SIZE(x)
+#		define IOCPARM_LEN(x) ( _IOC_SIZE(x) ? _IOC_SIZE(x) : 256 )
 #	else
 		/* otherwise guess at what's safe (we're UNSAFE!) */
 #		warning "unsafe assumption of IOCPARM_LEN=256"




More information about the fedora-cvs-commits mailing list