#18623 [Fbk->Csd]: touch, fopen, fwrite don't work

From: Date: Wed, 31 Jul 2002 06:47:06 +0000
Subject: #18623 [Fbk->Csd]: touch, fopen, fwrite don't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15645@lists.php.net to get a copy of this message
ID: 18623 Updated by: sfox@php.net Reported By: nohn@php.net -Status: Feedback +Status: Closed Bug Type: Filesystem function related Operating System: Compaq Tru64/Alpha PHP Version: 4CVS-2002-07-29 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Sebastian agrees. Previous Comments: ------------------------------------------------------------------------ [2002-07-31 00:32:45] kalowsky@php.net msopacua@idg.nl reports Stef patch fixes the bug on AIX. ------------------------------------------------------------------------ [2002-07-30 19:04:48] sfox@php.net woo, that was unexpected :) I thought I'd come across a separate win32 issue. Does that mean I can close this one now? ------------------------------------------------------------------------ [2002-07-30 16:51:27] nohn@php.net I think, you meant this one (it's from sfox@php.net, not stef@php.net): --- old_filestat.c 2002-07-28 23:35:50.000000000 +0000 +++ filestat.c 2002-07-30 17:16:48.000000000 +0000 @@ -481,9 +481,7 @@ newtime = &newtimebuf; if (ac == 1 && zend_get_parameters_ex(1, &filename) != FAILURE) { -#ifndef HAVE_UTIME_NULL newtime->modtime = newtime->actime = time(NULL); -#endif } else if (ac == 2 && zend_get_parameters_ex(2, &filename, &filetime) != FAILURE) { convert_to_long_ex(filetime); newtime->actime = time(NULL); ---- and yes... It works fine. Tested with php4-200207301200 tested on Compaq Testdrive machine (a little bit slow, but it does what it should do). Full report here: http://www.nohn.net/lalafarm/php4-test-reports/4.3.0-dev-1028061991.xml ------------------------------------------------------------------------ [2002-07-30 14:52:41] kalowsky@php.net can you test the patch that stef@php.net just sent to PHP-Dev and see if this solves the touch issues? ------------------------------------------------------------------------ [2002-07-30 13:43:29] nohn@php.net Now the Error-Log is at http://www.nohn.net/lalafarm/php4-test/error.log ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18623 -- Edit this bug report at http://bugs.php.net/?id=18623&edit=1

« previous php.bugs (#15645) next »