php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72679 DOS line endings in zend_language_scanner.c
Submitted: 2016-07-26 14:14 UTC Modified: 2017-10-24 10:28 UTC
From: cmb@php.net Assigned: cmb (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.6.24 OS: Solaris 10
Private report: No CVE-ID: None
 [2016-07-26 14:14 UTC] cmb@php.net
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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-26 14:20 UTC] cmb@php.net
-Assigned To: +Assigned To: tyrael
 [2017-10-24 04:31 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: tyrael +Assigned To:
 [2017-10-24 10:28 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2017-10-24 10:28 UTC] cmb@php.net
> neither PHP 5.6, 7.0 nor 7.1 are affected

That should have been "neither PHP 5.5, 7.0 nor 7.1 are affected".

Anyway, active support for PHP 5.6 has ended, so I'm closing this ticket.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 04:01:29 2024 UTC