#43285 [Fbk-Opn]: Mac style line endings in source files

2007-11-16 Thread [EMAIL PROTECTED]
 ID:   43285
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: DBM/DBA related
 Operating System: Windows Vista
 PHP Version:  5.2CVS-2007-11-14 (CVS)
 New Comment:

The behavior only manifests when CVS auto-converts the files to Windows
style newlines (performing the checkout with Unix style newlines works
fine), but the behavior is consistent and reproduceable.


Previous Comments:


[2007-11-16 12:36:27] [EMAIL PROTECTED]

I can't find any mac style EOLs in any of those files..are you sure
you have clean sources?



[2007-11-14 20:02:48] [EMAIL PROTECTED]

Taking a look at the binary markup of the files, it looks like the
newlines are being represent as 0d 0d 0a (\r\r\n) which is not really
any type of newline at all. :-)



[2007-11-14 18:41:28] [EMAIL PROTECTED]

Microsoft Visual C++ 2005 Express fails when it encounters code with
Mac-style newlines. It specifically says Does not support Mac style
newlines, please convert to Windows / Unix style

Maybe a faulty CVS checkout?



[2007-11-14 11:47:27] [EMAIL PROTECTED]

Copied from the other report:

In the ext/pdo_odbc directory, odbc_driver.c, odbc_stmt.c and
php_pdo_odbc_int.h have Mac style newlines.




[2007-11-14 11:46:26] [EMAIL PROTECTED]

Exactly what compiler complains about it? Using any sane compiler
doesn't cause any complaints. Are they errors / warnings?



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/43285

-- 
Edit this bug report at http://bugs.php.net/?id=43285edit=1


#43285 [Fbk-Opn]: Mac style line endings in source files

2007-11-14 Thread [EMAIL PROTECTED]
 ID:   43285
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: DBM/DBA related
 Operating System: Windows Vista
 PHP Version:  5.2CVS-2007-11-14 (CVS)
 New Comment:

Microsoft Visual C++ 2005 Express fails when it encounters code with
Mac-style newlines. It specifically says Does not support Mac style
newlines, please convert to Windows / Unix style

Maybe a faulty CVS checkout?


Previous Comments:


[2007-11-14 11:47:27] [EMAIL PROTECTED]

Copied from the other report:

In the ext/pdo_odbc directory, odbc_driver.c, odbc_stmt.c and
php_pdo_odbc_int.h have Mac style newlines.




[2007-11-14 11:46:26] [EMAIL PROTECTED]

Exactly what compiler complains about it? Using any sane compiler
doesn't cause any complaints. Are they errors / warnings?



[2007-11-14 04:29:17] [EMAIL PROTECTED]

Description:

ext/dba/dba_db1.c has Mac style newlines, so the compiler complains.
Should be an easy fix.






-- 
Edit this bug report at http://bugs.php.net/?id=43285edit=1