cvs: php4 /ext/dio dio.c

From: Date: Fri, 05 Jul 2002 19:34:43 +0000
Subject: cvs: php4 /ext/dio dio.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12726@lists.php.net to get a copy of this message
sniper Fri Jul 5 15:34:43 2002 EDT Modified files: /php4/ext/dio dio.c Log: Fix bug: #16707 Index: php4/ext/dio/dio.c diff -u php4/ext/dio/dio.c:1.12 php4/ext/dio/dio.c:1.13 --- php4/ext/dio/dio.c:1.12 Sun Jun 9 08:56:27 2002 +++ php4/ext/dio/dio.c Fri Jul 5 15:34:42 2002 @@ -346,10 +346,10 @@ lk.l_whence = 0; } else { - lk.l_whence = SEEK_SET; + lk.l_whence = Z_LVAL_PP(element); } - if (zend_hash_find(fh, "type", 6, (void **) &element) == FAILURE) { + if (zend_hash_find(fh, "type", 4, (void **) &element) == FAILURE) { lk.l_type = 0; } else {

« previous php.cvs (#12726) next »