cvs: /php3/functions gd.c
| From: | Sterling Hughes | Date: | Fri, 21 Apr 2000 17:27:19 +0000 |
| Subject: | cvs: /php3/functions gd.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18118@lists.php.net to get a copy of this message | ||
sterling Fri Apr 21 10:27:19 2000 EDT
Modified files:
/php3/functions gd.c
Log:
Changed php_error to php3_error on Brian Harvard's suggestion.
Index: php3/functions/gd.c
diff -u php3/functions/gd.c:1.149 php3/functions/gd.c:1.150
--- php3/functions/gd.c:1.149 Thu Apr 20 19:25:53 2000
+++ php3/functions/gd.c Fri Apr 21 10:27:19 2000
@@ -29,7 +29,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.149 2000/04/21 02:25:53 rasmus Exp $ */
+/* $Id: gd.c,v 1.150 2000/04/21 17:27:19 sterling Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -418,7 +418,7 @@
fclose(fp);
if (!im) {
- php_error(E_WARNING,"ImageCreateFromGif: %s is not a valid GIF file", fn);
+ php3_error(E_WARNING,"ImageCreateFromGif: %s is not a valid GIF file", fn);
RETURN_FALSE;
}
ind = php3_list_insert(im, GD_GLOBAL(le_gd));
@@ -465,7 +465,7 @@
fflush(fp);
fclose(fp);
if (!im) {
- php_error(E_WARNING,"ImageCreateFromPng: %s is not a valid PNG file", fn);
+ php3_error(E_WARNING,"ImageCreateFromPng: %s is not a valid PNG file", fn);
RETURN_FALSE;
}
ind = php3_list_insert(im, GD_GLOBAL(le_gd));
@@ -513,7 +513,7 @@
fclose(fp);
if (!im) {
- php_error(E_WARNING,"ImageCreateFromJPEG: %s is not a valid JPEG file", fn);
+ php3_error(E_WARNING,"ImageCreateFromJPEG: %s is not a valid JPEG file", fn);
RETURN_FALSE;
}