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  


 [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)