php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58386 Installation package contains two source files with non ISO file encoding
Submitted: 2008-10-21 21:42 UTC Modified: 2012-06-26 23:41 UTC
From: thiele dot nicholas at transadelaide dot sa dot gov dot au Assigned: sixd (profile)
Status: Closed Package: *General Issues
PHP Version: 5.2.3 OS: Solaris 5.10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: thiele dot nicholas at transadelaide dot sa dot gov dot au
New email:
PHP Version: OS:

 

 [2008-10-21 21:42 UTC] thiele dot nicholas at transadelaide dot sa dot gov dot au
Description:
------------
I recently installed the PDO Abstraction Layer for Oracle following your guide at oracle.com but I noticed an issue for Unix users in that two of the files (oci_driver.c and php_pdo_oci_int.h) contained in the download (PDO_OCI-1.0.tgz) have DOS style (ASCII) line endings. The carriage return characters caused my Solaris installation to fail without a useful explanation.  I extracted the compressed file and resaved these to files in the Unix format (ISO) to correct the problem.  I am worried that someone without the knowledge or tools to detect and fix this issue may not be able to resolve the issue.  As the rest of the files seem to be saved for Unix anyway can these two be converted with a tools such as dos2unix and re-added to the tgz file for others to download?

Reproduce code:
---------------
pear install PDO_OCI

Expected result:
----------------
Build process completed successfully

Actual result:
--------------
something about and error at line 0 but the give away was the source code shown with carriage return characters (^M).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-26 23:41 UTC] sixd@php.net
-Status: Open +Status: Closed -Package: PDO_OCI +Package: *General Issues -Assigned To: +Assigned To: sixd
 [2012-06-26 23:41 UTC] sixd@php.net
The PHP bundle source in git has the correct line endings.  This must have been 
fixed some time ago.

The PECL distribution is out of date and should not be used.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 11:01:33 2025 UTC