php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28523 Error in ext/sockets/sockets.c file
Submitted: 2004-05-26 03:22 UTC Modified: 2004-05-26 08:54 UTC
From: sebastien dot masson at transcontinental dot ca Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2004-05-26 (dev) OS: HP-UX 11.11
Private report: No CVE-ID: None
 [2004-05-26 03:22 UTC] sebastien dot masson at transcontinental dot ca
Description:
------------
I'm unable to compile the socket option last PHP5 snapshot on my HP-UX 11.11 box.  The error come from the sockets.c file under ext/sockets directory.  The error appear in release 1.162 of the file.  I was able to compile with the v1.161.

Reproduce code:
---------------
Here the line 325 in sockets.c (v1.162 and v1.163) file.

spprintf(&(SOCKETS_G(strerror_buf), "Host lookup error %d", error);

A brace is missing and generate compile error.

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-26 08:54 UTC] derick@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 11:01:32 2024 UTC