rpms/rrdtool/F-8 rrdtool-1.3.0-beta4-fix-rrd_update-in-php-bindings.patch, NONE, 1.1

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Thu Apr 24 06:24:38 UTC 2008


Author: jwilson

Update of /cvs/pkgs/rpms/rrdtool/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16955

Added Files:
	rrdtool-1.3.0-beta4-fix-rrd_update-in-php-bindings.patch 
Log Message:
Trying to build stuff when sleep-deprived due to trans-continental travel is bad, mmmkay?

rrdtool-1.3.0-beta4-fix-rrd_update-in-php-bindings.patch:

--- NEW FILE rrdtool-1.3.0-beta4-fix-rrd_update-in-php-bindings.patch ---
diff -Naurp rrdtool.orig/php4/rrdtool.c rrdtool/php4/rrdtool.c
--- rrdtool.orig/php4/rrdtool.c	2007-06-16 01:32:23.000000000 -0400
+++ rrdtool/php4/rrdtool.c	2008-04-05 23:37:04.000000000 -0400
@@ -381,7 +381,7 @@ PHP_FUNCTION(rrd_update)
 		argv[3] = estrdup(opt->value.str.val);
 
 		optind = 0; opterr = 0;
-		if ( rrd_update(3, &argv[1]) != -1 )
+		if ( rrd_update(2, &argv[2]) != -1 )
 		{
 			RETVAL_TRUE;
 		}




More information about the fedora-extras-commits mailing list