php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18308 Bogus `uname -a`will break php_config.h
Submitted: 2002-07-12 08:03 UTC Modified: 2002-07-22 21:59 UTC
From: bugs dot php dot net at gonzo dot ch Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Linux
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugs dot php dot net at gonzo dot ch
New email:
PHP Version: OS:

 

 [2002-07-12 08:03 UTC] bugs dot php dot net at gonzo dot ch
Hi

A user has a weird uname -a in form of:
Linux LnxServ.skullboxhouse 2.4.19-gentoo-r7 #3 Thu Jul
11 18:39:39 GMT 2002 i686 6\nmodel

The linebreak breaks the php_config.h because of a missing ".

The only workaround I found was to replace PHP_UNAME=`uname -a`
in the configure script with PHP_UNAME=`uname -s -n -r -v`
(without the weird cpu definition)

Any other ideas?

Roman



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-22 21:59 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC