CVS update: php3/functions
| From: | rasmus | Date: | Fri, 04 Sep 1998 13:31:47 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-803@lists.php.net to get a copy of this message | ||
Date: Friday September 4, 1998 @ 9:31
Author: rasmus
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv5796/functions
Modified Files:
apache.c gd.c imap.c
Log Message:
Fix a couple of compiler warnings
Index: php3/functions/apache.c
diff -c php3/functions/apache.c:1.40 php3/functions/apache.c:1.41
*** php3/functions/apache.c:1.40 Thu Sep 3 17:25:42 1998
--- php3/functions/apache.c Fri Sep 4 09:31:45 1998
***************
*** 29,35 ****
+----------------------------------------------------------------------+
*/
! /* $Id: apache.c,v 1.40 1998/09/03 21:25:42 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 29,35 ----
+----------------------------------------------------------------------+
*/
! /* $Id: apache.c,v 1.41 1998/09/04 13:31:45 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 249,258 ****
add_property_string(return_value,"method",rr->method,1);
}
if (rr->content_type) {
! add_property_string(return_value,"content_type",rr->content_type,1);
}
if (rr->handler) {
! add_property_string(return_value,"handler",rr->handler,1);
}
if (rr->uri) {
add_property_string(return_value,"uri",rr->uri,1);
--- 249,258 ----
add_property_string(return_value,"method",rr->method,1);
}
if (rr->content_type) {
! add_property_string(return_value,"content_type",(char *)rr->content_type,1);
}
if (rr->handler) {
! add_property_string(return_value,"handler",(char *)rr->handler,1);
}
if (rr->uri) {
add_property_string(return_value,"uri",rr->uri,1);
Index: php3/functions/gd.c
diff -c php3/functions/gd.c:1.91 php3/functions/gd.c:1.92
*** php3/functions/gd.c:1.91 Sun Aug 23 13:35:52 1998
--- php3/functions/gd.c Fri Sep 4 09:31:45 1998
***************
*** 29,35 ****
+----------------------------------------------------------------------+
*/
! /* $Id: gd.c,v 1.91 1998/08/23 17:35:52 ssb Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
--- 29,35 ----
+----------------------------------------------------------------------+
*/
! /* $Id: gd.c,v 1.92 1998/09/04 13:31:45 rasmus Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
***************
*** 297,303 ****
void php3_imageloadfont(INTERNAL_FUNCTION_PARAMETERS) {
pval *file;
int hdr_size = sizeof(gdFont) - sizeof(char *);
! int ind, body_size, n, b;
gdFontPtr font;
FILE *fp;
int issock=0, socketd=0;
--- 297,303 ----
void php3_imageloadfont(INTERNAL_FUNCTION_PARAMETERS) {
pval *file;
int hdr_size = sizeof(gdFont) - sizeof(char *);
! int ind, body_size, n=0, b;
gdFontPtr font;
FILE *fp;
int issock=0, socketd=0;
Index: php3/functions/imap.c
diff -c php3/functions/imap.c:1.31 php3/functions/imap.c:1.32
*** php3/functions/imap.c:1.31 Fri Sep 4 00:28:32 1998
--- php3/functions/imap.c Fri Sep 4 09:31:45 1998
***************
*** 31,37 ****
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.31 1998/09/04 04:28:32 musone Exp $ */
#define IMAP41
--- 31,37 ----
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.32 1998/09/04 13:31:45 rasmus Exp $ */
#define IMAP41
***************
*** 1719,1725 ****
pval *flags;
int ind,ind_type;
unsigned long *slst,*sl;
- char mystring[100];
SORTPGM *mypgm=NIL;
SEARCHPGM *spg=NIL;
pils *imap_le_struct;
--- 1719,1724 ----
***************
*** 1878,1884 ****
pils *imap_le_struct;
pval parametres, param, dparametres, dparam;
PARAMETER *par, *dpar;
- PART *part;
BODY *body;
int myargc=ARG_COUNT(ht);
if (myargc != 3 || getParameters(ht,myargc,&streamind,&msg,§ion) == FAILURE) {
--- 1877,1882 ----
--
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