Bug #72679 [NEW]: DOS line endings in zend_language_scanner.c

From: Date: Tue, 26 Jul 2016 14:14:19 +0000
Subject: Bug #72679 [NEW]: DOS line endings in zend_language_scanner.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202609@lists.php.net to get a copy of this message
From:             cmb
Operating system: Solaris 10
PHP version:      5.6.24
Package:          Compile Failure
Bug Type:         Bug
Bug description:DOS line endings in zend_language_scanner.c

Description:
------------
I'm forwarding this issue from
<http://news.php.net/php.install/20422>ff.

TL;DR: zend_language_scanner.c (and maybe other files generated
with re2c) have DOS line endings (CRLF), which are not acceptable
for Oracle Studio (and maybe other compilers), so the build fails.
Running dos2unix on these files solves the build failures.

I would suggest to ship these files with *nix line endings (LF)
in the first place (that shouldn't be problem with MSVC).

This isssue affects PHP 5.6 (all tar.bz2 I've checked); it seems
that neither PHP 5.6, 7.0 nor 7.1 are affected. Ferenc, could you
please have a look at this issue?


-- 
Edit bug report at https://bugs.php.net/bug.php?id=72679&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=72679&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=72679&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=72679&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=72679&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=72679&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=72679&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=72679&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=72679&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=72679&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=72679&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=72679&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=72679&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=72679&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72679&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=72679&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=72679&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=72679&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72679&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=72679&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=72679&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#202609) next »