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
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: sebastien dot masson at transcontinental dot ca
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 14:00:03 2025 UTC