Re: cvs: pecl /iptcdata iptcdata.c

From: Date: Fri, 17 Nov 2006 15:42:02 +0000
Subject: Re: cvs: pecl /iptcdata iptcdata.c
References: 1 2  Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-6652@lists.php.net to get a copy of this message
yep right, that is/was debug code and can be removed. and .. just a view words: the extension is still not complete, several functions missing and not completely tested. Manfred 2006/11/17, Ilia Alshanetsky <ilia@prohost.org>:
On 17-Nov-06, at 9:26 AM, Manfred Weber wrote:
      if (rename (tmpfile, filename) < 0) {
              fprintf (stderr, "Failed to save image\n");
              unlink (tmpfile);
-             php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to save image");
+             php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Failed to save image");
+             RETURN_FALSE;
      }
      RETURN_TRUE;
fprintf to stderr, is this a left over debug code? Ilia Alshanetsky


« previous php.pecl.cvs (#6652) next »