cvs: /php4/ext/gd gd.c /php4/ext/pdf pdf.c

From: Date: Fri, 07 Apr 2000 18:50:38 +0000
Subject: cvs: /php4/ext/gd gd.c /php4/ext/pdf pdf.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13314@lists.php.net to get a copy of this message
cmv Fri Apr 7 11:50:38 2000 EDT Modified files: /php4/ext/gd gd.c /php4/ext/pdf pdf.c Log: recommended changes Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.49 php4/ext/gd/gd.c:1.50 --- php4/ext/gd/gd.c:1.49 Wed Apr 5 15:31:40 2000 +++ php4/ext/gd/gd.c Fri Apr 7 11:50:07 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.49 2000/04/05 22:31:40 cmv Exp $ */ +/* $Id: gd.c,v 1.50 2000/04/07 18:50:07 cmv Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -255,6 +255,9 @@ #endif #ifdef HAVE_GD_PNG php_info_print_table_row(2, "PNG Support", "enabled"); +#endif +#ifdef HAVE_GD_JPG + php_info_print_table_row(2, "JPG Support", "enabled"); #endif php_info_print_table_end(); } Index: php4/ext/pdf/pdf.c diff -u php4/ext/pdf/pdf.c:1.33 php4/ext/pdf/pdf.c:1.34 --- php4/ext/pdf/pdf.c:1.33 Thu Apr 6 14:07:42 2000 +++ php4/ext/pdf/pdf.c Fri Apr 7 11:50:07 2000 @@ -27,7 +27,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pdf.c,v 1.33 2000/04/06 21:07:42 cmv Exp $ */ +/* $Id: pdf.c,v 1.34 2000/04/07 18:50:07 cmv Exp $ */ /* pdflib 2.01 is subject to the ALADDIN FREE PUBLIC LICENSE. Copyright (C) 1997 Thomas Merz. */ @@ -241,7 +241,7 @@ char tmp[32]; snprintf(tmp, 31, "%d.%02d", PDF_get_majorversion(), PDF_get_minorversion() ); - tmp[32]=0; + tmp[31]=0; php_info_print_table_start(); php_info_print_table_row(2, "PDF Support", "enabled" );

« previous php.version4 (#13314) next »