Edit report at https://bugs.php.net/bug.php?id=51094&edit=1

 ID:                 51094
 Updated by:         pierr...@php.net
 Reported by:        viaujoc at videotron dot ca
 Summary:            parse_ini_file() with INI_SCANNER_RAW cuts a value
                     that includes a semi-colon
 Status:             Closed
 Type:               Bug
 Package:            Filesystem function related
 PHP Version:        *
 Assigned To:        pierrick
 Block user comment: N
 Private report:     N

 New Comment:

This is strange, it's working well on my side. I'm on Linux but this kind of 
things should not change. Could you please verify that you have the last 
version of the 
Zend/zend_ini_scanner_defs.h and Zend/zend_ini_scanner.c files (they were 
committed just after the .l).

You could regenerate those files using this command : 
re2c --case-inverted -cbdFt Zend/zend_ini_scanner_defs.h 
-oZend/zend_ini_scanner.c Zend/zend_ini_scanner.l

to see if you have any differences

Thanks


Previous Comments:
------------------------------------------------------------------------
[2012-06-07 22:05:27] mattfic...@php.net

This fails for me with 5.4.5-dev on Windows 7.

The diff when I run it:
001+ string(4) ""ini"
002+ string(4) ""ini"
001- string(7) "ini;raw"
002- string(8) ""ini;raw"

------------------------------------------------------------------------
[2012-06-07 16:24:05] pierr...@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------
[2012-06-07 15:59:10] pierr...@php.net

Automatic comment on behalf of pierrick
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=fed5923dbc849659321a4f9aa96634ddd1655229
Log: Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that 
includes a semi-colon)

------------------------------------------------------------------------
[2012-06-07 13:32:26] pierr...@php.net

The following patch has been added/updated:

Patch Name: bug51094.diff
Revision:   1339075946
URL:        
https://bugs.php.net/patch-display.php?bug=51094&patch=bug51094.diff&revision=1339075946

------------------------------------------------------------------------
[2012-06-06 17:06:30] pierr...@php.net

I'll soon have one last look to make sure this patch doesn't introduce any 
problem before committing it. But if someone else want to review it, any 
comments 
will be welcome.

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=51094


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=51094&edit=1

Reply via email to