php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3648 Problem with *time_r in php-4.0b4 4.0b3 ok
Submitted: 2000-02-28 06:23 UTC Modified: 2000-03-03 14:23 UTC
From: O dot Stahl at lsw dot uni-heidelberg dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 4 Patch Level 1 OS: HP-UX 10.20
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: O dot Stahl at lsw dot uni-heidelberg dot de
New email:
PHP Version: OS:

 

 [2000-02-28 06:23 UTC] O dot Stahl at lsw dot uni-heidelberg dot de
The *time_r functions on HP-UX have different parameters from what
is assumed in php4.0b4.  This causes compilation to fail. php4.0b3 is ok.

e.g.  from  man asctime_r on HP-UX:

int asctime_r(const struct tm *timeptr, char *buffer, int buflen); 

It compiles, when all *time_r  defines are commented in php_config.h, as e.g.

/*#define HAVE_ASCTIME_R 1 */

after  ./configure                                 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-03 14:23 UTC] sas at cvs dot php dot net
Thanks for your report! It's fixed in CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 02:00:02 2026 UTC