cvs: php4 /ext/standard md5.c sha1.c

From: Date: Sun, 28 Jul 2002 19:29:29 +0000
Subject: cvs: php4 /ext/standard md5.c sha1.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13021@lists.php.net to get a copy of this message
derick Sun Jul 28 15:29:29 2002 EDT Modified files: /php4/ext/standard md5.c sha1.c Log: - Copy and paste error -> unify error messages Index: php4/ext/standard/md5.c diff -u php4/ext/standard/md5.c:1.26 php4/ext/standard/md5.c:1.27 --- php4/ext/standard/md5.c:1.26 Thu Feb 28 03:26:46 2002 +++ php4/ext/standard/md5.c Sun Jul 28 15:29:28 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: md5.c,v 1.26 2002/02/28 08:26:46 sebastian Exp $ */ +/* $Id: md5.c,v 1.27 2002/07/28 19:29:28 derick Exp $ */ /* * md5.c - Copyright 1997 Lachlan Roche @@ -90,7 +90,7 @@ } if ((fp = VCWD_FOPEN(Z_STRVAL_PP(arg), "rb")) == NULL) { - php_error(E_WARNING, "md5_file(): Unable to open file"); + php_error(E_WARNING, "%s(): Unable to open file", get_active_function_name (TSRMLS_C)); RETURN_FALSE; } Index: php4/ext/standard/sha1.c diff -u php4/ext/standard/sha1.c:1.1 php4/ext/standard/sha1.c:1.2 --- php4/ext/standard/sha1.c:1.1 Sun Jul 28 15:18:08 2002 +++ php4/ext/standard/sha1.c Sun Jul 28 15:29:28 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sha1.c,v 1.1 2002/07/28 19:18:08 sesser Exp $ */ +/* $Id: sha1.c,v 1.2 2002/07/28 19:29:28 derick Exp $ */ #include <stdio.h> #include "php.h" @@ -88,7 +88,7 @@ } if ((fp = VCWD_FOPEN(Z_STRVAL_PP(arg), "rb")) == NULL) { - php_error(E_WARNING, "md5_file(): Unable to open file"); + php_error(E_WARNING, "%s(): Unable to open file", get_active_function_name (TSRMLS_C)); RETURN_FALSE; }

« previous php.cvs (#13021) next »