thetaphi Fri Apr 15 05:24:45 2005 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/standard md5.c sha1.c
Log:
correct copy/paste problem
http://cvs.php.net/diff.php/php-src/ext/standard/md5.c?r1=1.28.4.2&r2=1.28.4.3&ty=u
Index: php-src/ext/standard/md5.c
diff -u php-src/ext/standard/md5.c:1.28.4.2 php-src/ext/standard/md5.c:1.28.4.3
--- php-src/ext/standard/md5.c:1.28.4.2 Fri Apr 15 05:15:03 2005
+++ php-src/ext/standard/md5.c Fri Apr 15 05:24:45 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: md5.c,v 1.28.4.2 2005/04/15 09:15:03 thetaphi Exp $ */
+/* $Id: md5.c,v 1.28.4.3 2005/04/15 09:24:45 thetaphi Exp $ */
/*
* md5.c - Copyright 1997 Lachlan Roche
@@ -89,7 +89,7 @@
RETURN_FALSE;
}
- if ((fd = VCWD_OPEN(arg, O_RDONLY)) == -1) {
+ if ((fd = VCWD_OPEN(Z_STRVAL_PP(arg), O_RDONLY)) == -1) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open
file");
RETURN_FALSE;
}
http://cvs.php.net/diff.php/php-src/ext/standard/sha1.c?r1=1.3.4.2&r2=1.3.4.3&ty=u
Index: php-src/ext/standard/sha1.c
diff -u php-src/ext/standard/sha1.c:1.3.4.2 php-src/ext/standard/sha1.c:1.3.4.3
--- php-src/ext/standard/sha1.c:1.3.4.2 Fri Apr 15 05:15:03 2005
+++ php-src/ext/standard/sha1.c Fri Apr 15 05:24:45 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sha1.c,v 1.3.4.2 2005/04/15 09:15:03 thetaphi Exp $ */
+/* $Id: sha1.c,v 1.3.4.3 2005/04/15 09:24:45 thetaphi Exp $ */
#include "php.h"
#include <sys/types.h>
@@ -88,7 +88,7 @@
RETURN_FALSE;
}
- if ((fd = VCWD_OPEN(arg, O_RDONLY)) == -1) {
+ if ((fd = VCWD_OPEN(Z_STRVAL_PP(arg), O_RDONLY)) == -1) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open
file");
RETURN_FALSE;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php