Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.7

Bug #19658 Wrong line separator in PECL config files for windows platform
Submitted: 2012-10-20 21:32 UTC
From: moellenb Assigned:
Status: Open Package: CodeGen (version 1.0.7)
PHP Version: Irrelevant OS: Windows
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 - 11 = ?

 
 [2012-10-20 21:32 UTC] moellenb (Christian Moellenberg)
Description: ------------ Please see arbitrary extension directory generated by CodeGen_PECL: The config files config.w32 and <extension>.dsp will have Unix style LF (0x0a) characters instead of the DOS/Windows style CRLF sequence. I'm not quite sure if this is a real problem when compiling an extension on Windows machines but it is clearly not what was intended in the code. A patch to resolve the problem is attached. Test script: --------------- pecl-gen --extname=myextension od -c myextension/config.w32 | head od -c myextension/myextension.dsp | head Expected result: ---------------- Output should reveal \r\n sequences as line separators Actual result: -------------- Output reveals only \n as line separators

Comments

 [2012-10-20 21:38 UTC] moellenb (Christian Moellenberg)