CVS update: php3/functions

From: Date: Thu, 22 Oct 1998 17:09:24 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-1969@lists.php.net to get a copy of this message
Date: Thursday October 22, 1998 @ 13:09 Author: thies Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv1054 Modified Files: iptc.c Log Message: fixed off-by-one while calculating EOIPTC (end-of-iptc).... Index: php3/functions/iptc.c diff -c php3/functions/iptc.c:1.1 php3/functions/iptc.c:1.2 *** php3/functions/iptc.c:1.1 Thu Oct 22 04:05:58 1998 --- php3/functions/iptc.c Thu Oct 22 13:09:23 1998 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: iptc.c,v 1.1 1998/10/22 08:05:58 thies Exp $ */ /* * Functions to parse & compse IPTC data. --- 27,33 ---- +----------------------------------------------------------------------+ */ ! /* $Id: iptc.c,v 1.2 1998/10/22 17:09:23 thies Exp $ */ /* * Functions to parse & compse IPTC data. *************** *** 82,88 **** sprintf(key,"%d#%03d",(unsigned int) dataset,(unsigned int) recnum); ! if ((inx + len) >= length) break; if (_php3_hash_find(return_value->value.ht,key,strlen(key) + 1,(void **) &element) == FAILURE) { --- 82,88 ---- sprintf(key,"%d#%03d",(unsigned int) dataset,(unsigned int) recnum); ! if ((inx + len) > length) break; if (_php3_hash_find(return_value->value.ht,key,strlen(key) + 1,(void **) &element) == FAILURE) { -- 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 (#1969) next »