CVS update: php3/functions

From: Date: Fri, 08 Jan 1999 14:14:56 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3401@lists.php.net to get a copy of this message
Date: Friday January 8, 1999 @ 9:14 Author: rasmus Update of /repository/php3/functions In directory asf:/home/rasmus/php3/functions Modified Files: pdf.c var.c Log Message: Any function that outputs directly must first call php3_header() and a pdf compile fix - please check this one Uwe Index: php3/functions/pdf.c diff -c php3/functions/pdf.c:1.20 php3/functions/pdf.c:1.21 *** php3/functions/pdf.c:1.20 Fri Jan 8 08:42:03 1999 --- php3/functions/pdf.c Fri Jan 8 09:14:56 1999 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: pdf.c,v 1.20 1999/01/08 13:42:03 steinm Exp $ */ /* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE. Copyright (C) 1997 Thomas Merz. */ --- 27,33 ---- +----------------------------------------------------------------------+ */ ! /* $Id: pdf.c,v 1.21 1999/01/08 14:14:56 rasmus Exp $ */ /* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE. Copyright (C) 1997 Thomas Merz. */ *************** *** 137,143 **** {"pdf_add_outline", php3_pdf_add_outline, NULL}, {"pdf_set_transition", php3_pdf_set_transition, NULL}, {"pdf_set_duration", php3_pdf_set_duration, NULL}, ! {"pdf_open_jpeg", php3_pdf_open_jpeg, NULL}, {"pdf_open_gif", php3_pdf_open_gif, NULL}, {"pdf_close_image", php3_pdf_close_image, NULL}, {"pdf_place_image", php3_pdf_place_image, NULL}, --- 137,143 ---- {"pdf_add_outline", php3_pdf_add_outline, NULL}, {"pdf_set_transition", php3_pdf_set_transition, NULL}, {"pdf_set_duration", php3_pdf_set_duration, NULL}, ! {"pdf_open_jpeg", php3_pdf_open_gif, NULL}, {"pdf_open_gif", php3_pdf_open_gif, NULL}, {"pdf_close_image", php3_pdf_close_image, NULL}, {"pdf_place_image", php3_pdf_place_image, NULL}, Index: php3/functions/var.c diff -c php3/functions/var.c:1.12 php3/functions/var.c:1.13 *** php3/functions/var.c:1.12 Thu Jan 7 12:46:33 1999 --- php3/functions/var.c Fri Jan 8 09:14:56 1999 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: var.c,v 1.12 1999/01/07 17:46:33 thies Exp $ */ #ifdef THREAD_SAFE #include "tls.h" --- 27,33 ---- +----------------------------------------------------------------------+ */ ! /* $Id: var.c,v 1.13 1999/01/08 14:14:56 rasmus Exp $ */ #ifdef THREAD_SAFE #include "tls.h" *************** *** 36,41 **** --- 36,42 ---- #include <stdlib.h> #include <errno.h> #include "php.h" + #include "head.h" #include "internal_functions.h" #include "fopen-wrappers.h" #include "reg.h" *************** *** 54,59 **** --- 55,62 ---- int i, c = 0; pval *data; char buf[512]; + + if(!php3_header()) return; switch (struc->type) { case IS_LONG: -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3401) next »