[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2009-06-22 Thread Felipe Pena
felipe Mon Jun 22 11:37:31 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: - Fixed bug #48641 (tmpfile() uses old parameter parsing)

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file fgetcsv_variation14.phpt fgetcsv_variation21.phpt

2009-05-24 Thread Ilia Alshanetsky
iliaa Sun May 24 16:01:48 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/filefgetcsv_variation14.phpt fgetcsv_variation21.phpt Log: MFB: Improve fix

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2009-05-20 Thread Jani Taskinen
janiThu May 21 02:15:03 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: MFH: ws http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.33r2=1.409.2.6.2.28.2.34diff_format=u Index:

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2009-05-19 Thread Jani Taskinen
Yes, the code indeed is very different. I suggest you look in the mirror to find out who to blame. And then do a diff -u between file.c on PHP_5_2, PHP_5_3 and HEAD. Make your life easier and sync the files between branches before you commit any more fixes.. --Jani p.s. I found 1 other bug

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2009-05-18 Thread Ilia Alshanetsky
iliaa Mon May 18 18:45:30 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Fixed bug #48313 (fgetcsv() does not return null for empty rows)

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2009-05-18 Thread Jani Taskinen
What about HEAD? --Jani Ilia Alshanetsky kirjoitti: iliaa Mon May 18 18:45:30 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Fixed bug #48313 (fgetcsv() does not return null for empty rows)

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2009-05-18 Thread Ilia Alshanetsky
Work in progress, the code is very different there and the patch will be very different. Ilia Alshanetsky On 18-May-09, at 5:19 PM, Jani Taskinen wrote: What about HEAD? --Jani Ilia Alshanetsky kirjoitti: iliaa Mon May 18 18:45:30 2009 UTC Modified files:

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2009-05-08 Thread Arnaud Le Blanc
lbarnaudFri May 8 09:44:18 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Fix invalid read http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.31r2=1.409.2.6.2.28.2.32diff_format=u Index:

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c streamsfuncs.c /main php_streams.h /main/streams cast.c streams.c

2009-04-19 Thread Arnaud Le Blanc
lbarnaudSun Apr 19 17:10:35 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/main php_streams.h /php-src/main/streams cast.c streams.c /php-src/ext/standard file.c streamsfuncs.c Log: MFH: Better fix for #47997

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file fnmatch_basic.phpt fnmatch_error.phpt fnmatch_variation.phpt

2009-01-19 Thread Pierre-Alain Joye
pajoye Tue Jan 20 01:40:07 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/filefnmatch_basic.phpt fnmatch_error.phpt

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-12-13 Thread Lars Strojny
lstrojnySat Dec 13 15:06:20 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: One len variable is enough here, we can reuse it

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file mkdir_rmdir_variation2.phpt mkdir_variation1-win32.phpt mkdir_variation1.phpt mkdir_variation5.phpt

2008-12-12 Thread Hannes Magnusson
bjori Fri Dec 12 12:44:49 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/filemkdir_variation1.phpt mkdir_variation1-win32.phpt

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c flock_compat.h /ext/standard/tests/file userstreams_004.phpt /main/streams userspace.c

2008-11-25 Thread Arnaud Le Blanc
lbarnaudWed Nov 26 04:19:20 2008 UTC Added files: (Branch: PHP_5_3) /php-src/ext/standard/tests/fileuserstreams_004.phpt Modified files: /php-src/ext/standard file.c flock_compat.h /php-src/main/streams userspace.c

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file fputcsv_002.phpt

2008-09-11 Thread Felipe Pena
felipe Fri Sep 12 01:14:14 2008 UTC Added files: (Branch: PHP_5_3) /php-src/ext/standard/tests/filefputcsv_002.phpt Modified files: /php-src/ext/standard file.c Log: - MFH: Fixed unexpected zval changes

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file fscanf.phpt fscanf_error.phpt

2008-08-12 Thread Felipe Pena
felipe Tue Aug 12 19:38:55 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/filefscanf.phpt fscanf_error.phpt Log: - New parameter parsing API (for fscanf)

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file fscanf.phpt fscanf_error.phpt

2008-08-12 Thread Marcus Boerger
Hello Felipe, Tuesday, August 12, 2008, 9:38:55 PM, you wrote: felipe Tue Aug 12 19:38:55 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/filefscanf.phpt fscanf_error.phpt Log: - New

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file fscanf.phpt fscanf_error.phpt

2008-08-12 Thread Felipe Pena
Em Ter, 2008-08-12 às 21:46 +0200, Marcus Boerger escreveu: Hello Felipe, Tuesday, August 12, 2008, 9:38:55 PM, you wrote: -Warning: fscanf(): %d is not a valid File-Handle resource in %s on line %d +Warning: fscanf(): 6 is not a valid File-Handle resource in %s on line %d Verifying

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file copy_variation4-win32.phpt copy_variation4.phpt

2008-08-11 Thread Pierre-Alain Joye
pajoye Mon Aug 11 13:11:31 2008 UTC Removed files: (Branch: PHP_5_3) /php-src/ext/standard/tests/filecopy_variation4-win32.phpt Modified files: /php-src/ext/standard file.c /php-src/ext/standard/tests/filecopy_variation4.phpt

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c fsock.c proc_open.c streamsfuncs.c /ext/standard/tests/file fscanf_variation10.phpt fscanf_variation16.phpt fscanf_variation22.phpt fscanf_variati

2008-07-22 Thread Felipe Pena
felipe Tue Jul 22 14:09:24 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c fsock.c proc_open.c streamsfuncs.c /php-src/ext/standard/tests/filefscanf_variation10.phpt fscanf_variation16.phpt

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-07-21 Thread Jani Taskinen
janiMon Jul 21 11:46:18 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: - Forward compatibility. # @DOC@, [DOC], *DOC*: Added FILE_TEXT and FILE_BINARY constants for forward compatibility.

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /ext/standard/tests/file 007_error.phpt fflush_error.phpt fgetc_error.phpt fgetc_variation2.phpt fgets_error.phpt fgets_variation2.phpt fgetss_err

2008-07-03 Thread Olivier Hill
ohill Thu Jul 3 20:19:27 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c /php-src/ext/standard/tests/file007_error.phpt fflush_error.phpt fgetc_error.phpt

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-05-16 Thread Felipe Pena
felipe Fri May 16 12:44:11 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: - Changed 'Z' to 's' (parameter parsing), the code didn't check if the parameter is a string.

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-03-30 Thread Ilia Alshanetsky
iliaa Sun Mar 30 15:05:49 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Added a warning message http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.10r2=1.409.2.6.2.28.2.11diff_format=u Index:

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-03-27 Thread Benjamin Schulz
Can't you check with php_stream_supports_lock here wether the stream- wrapper supports locking? regards, Benjamin On 27.03.2008, at 00:06, Ilia Alshanetsky wrote: iliaa Wed Mar 26 23:06:48 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-03-27 Thread Antony Dovgal
On 27.03.2008 10:15, Benjamin Schulz wrote: Can't you check with php_stream_supports_lock here wether the stream- wrapper supports locking? I agree, that would make much more sense. -- Wbr, Antony Dovgal -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-03-27 Thread Benjamin Schulz
Can't you check with php_stream_supports_lock here wether the stream-wrapper supports locking? That requires an open stream. And why don't you raise the warning after opening the stream? There is this check anyway: if (flags LOCK_EX (!php_stream_supports_lock(stream) ||

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-03-26 Thread Ilia Alshanetsky
iliaa Wed Mar 26 23:06:48 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Fixed bug #44501 (LOCK_EX mode in file_put_contents() is impropertly handled in combination with url wrappers)

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-02-24 Thread Felipe Pena
felipe Sun Feb 24 11:45:55 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Removed internal warning http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.8r2=1.409.2.6.2.28.2.9diff_format=u Index:

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2007-11-13 Thread Antony Dovgal
tony2001Tue Nov 13 10:31:25 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: fix typo (nice catch, Nuno!)

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2007-11-13 Thread Ilia Alshanetsky
Thanks for the typo catch fix. On 13-Nov-07, at 5:31 AM, Antony Dovgal wrote: tony2001Tue Nov 13 10:31:25 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standardfile.c Log: fix typo (nice catch, Nuno!)

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /main/streams plain_wrapper.c

2007-11-12 Thread Ilia Alshanetsky
iliaa Mon Nov 12 18:44:18 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/main/streams plain_wrapper.c /php-src/ext/standard file.c Log: Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file truncation).

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c /main/streams plain_wrapper.c

2007-11-12 Thread Nuno Lopes
Hi Ilia, + char mode[3] = wb; + if (flags PHP_FILE_APPEND) { + mode[0] = 'a'; + } else if (flags LOCK_EX) { + mode[0] = 'c'; uhm, I think this assignment isn't needed, as the variable should already contain the '\0' from the initilization above. + mode[2] = '\0'; probably you meant

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2007-11-09 Thread Dmitry Stogov
dmitry Fri Nov 9 11:08:23 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Conditions optimization http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.3r2=1.409.2.6.2.28.2.4diff_format=u Index:

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c link.c /ext/standard/tests/file fgetc_variation2.phpt readlink_realpath_error.phpt symlink_link_linkinfo_is_link_error1.phpt symlink_link_linkinfo

2007-11-06 Thread Jani Taskinen
janiTue Nov 6 17:11:57 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c link.c /php-src/ext/standard/tests/filefgetc_variation2.phpt readlink_realpath_error.phpt

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2007-11-05 Thread Jani Taskinen
janiMon Nov 5 17:43:05 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: MFH: Sync [DOC]: note [DOC] -/* {{{ proto bool copy(string source_file, string destination_file) [DOC] +/* {{{ proto bool copy(string source_file,