[PHP-DEV] CVS update: php3/functions From: thies (php-dev <email protected>)
Date: 10/22/98

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 <email protected>
For help: php-dev-help <email protected>