[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] cvs: pecl /ps ps.c
From:       "Uwe Steinmann" <steinm () php ! net>
Date:       2006-04-20 16:51:45
Message-ID: cvssteinm1145551905 () cvsserver
[Download RAW message or body]

steinm		Thu Apr 20 16:51:45 2006 UTC

  Modified files:              
    /pecl/ps	ps.c 
  Log:
  - preset variable feature to NULL because newer versions of pslib
    segm fault if it isn't set
  
  
http://cvs.php.net/viewcvs.cgi/pecl/ps/ps.c?r1=1.28&r2=1.29&diff_format=u
Index: pecl/ps/ps.c
diff -u pecl/ps/ps.c:1.28 pecl/ps/ps.c:1.29
--- pecl/ps/ps.c:1.28	Fri Mar  3 12:12:28 2006
+++ pecl/ps/ps.c	Thu Apr 20 16:51:45 2006
@@ -264,7 +264,7 @@
 	php_info_print_table_start();
 	php_info_print_table_row(2, "PS Support", "enabled" );
 	php_info_print_table_row(2, "PSlib Version", tmp );
-	php_info_print_table_row(2, "Revision", "$Revision: 1.28 $" );
+	php_info_print_table_row(2, "Revision", "$Revision: 1.29 $" );
 	php_info_print_table_end();
 
 }
@@ -1007,7 +1007,7 @@
 {
 	zval *zps;
 	double x, y, width, height;
-	char *text, *feature, *mode;
+	char *text, *feature = NULL, *mode;
 	int text_len, feature_len, mode_len;
 	int nr;
 	PSDoc *ps;
@@ -1479,6 +1479,7 @@
 	RETURN_LONG(patternid);
 }
 /* }}} */
+
 /* {{{ proto void ps_add_weblink(int psdoc, double llx, double lly, double urx, double ury, string url)
    Adds link to web resource */
 PHP_FUNCTION(ps_add_weblink)

-- 
PECL CVS Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic