Diff for /embedaddon/php/ext/dba/dba.c between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2013/07/22 01:31:39 version 1.1.1.4, 2013/10/14 08:02:11
Line 538  PHP_MINFO_FUNCTION(dba) Line 538  PHP_MINFO_FUNCTION(dba)
  */   */
 static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode)  static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode)
 {  {
         char *v;  
         int val_len;          int val_len;
         zval *id;          zval *id;
         dba_info *info = NULL;          dba_info *info = NULL;
Line 889  static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, Line 888  static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS,
                         RETURN_FALSE;                          RETURN_FALSE;
                 }                  }
                 if (hptr->flags & (DBA_NO_APPEND|DBA_CAST_AS_FD)) {                  if (hptr->flags & (DBA_NO_APPEND|DBA_CAST_AS_FD)) {
                        /* Needed becasue some systems do not allow to write to the original                         /* Needed because some systems do not allow to write to the original 
                          * file contents with O_APPEND being set.                           * file contents with O_APPEND being set.
                          */                           */
                         if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) {                          if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) {

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>