|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5 fclose in php3_minit_file undeclared
Submitted: 1998-01-25 19:46 UTC Modified: 1998-01-29 14:20 UTC
Avg. Score:3.9 ± 1.1
Reproduced:9 of 11 (81.8%)
Same Version:11 (122.2%)
Same OS:10 (111.1%)
From: asparks at nss dot harris dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0b3 OS: SunOS 4.1.4
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.
Bug Type:
From: asparks at nss dot harris dot com
New email:
PHP Version: OS:


 [1998-01-25 19:46 UTC] asparks at nss dot harris dot com
Compiling under SunOS 4.1.4:  gcc error trace:

functions/file.c: In function `php3_minit_file':
functions/file.c:254: `fclose' undeclared (first use this function)
functions/file.c:254: (Each undeclared identifier is reported only once
functions/file.c:254: for each function it appears in.)    

Apparently BROKEN_SUN_HEADERS does not get automatically set.
How are these supposed to get set?  Not set by configure.


Seurah (last revision 2021-03-05 13:43 UTC by kimwatson368 at yahoo dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-29 14:20 UTC] jim
This should be fixed in the latest CVS (and then PHP/3.0b4). The configure script should now automatically detect that the declaration of fclose() is missing and set the MISSING_FCLOSE_DECL #define in config.h.
 [2012-03-05 23:55 UTC]
Automatic comment from SVN on behalf of johannes
Log: Fix bug #60948 mysqlnd FTBFS when -Wformat-security is enabled

# 5.3 not affected
 [2018-05-29 19:39 UTC]
Automatic comment from SVN on behalf of jbnahan
Log: Fix Exemple #5 from EN
 [2019-07-15 14:29 UTC]
Automatic comment from SVN on behalf of nikic
Log: Fix typos

Patch by carusogabriel.

Closes php/doc-en#5.
 [2021-03-05 13:43 UTC] kimwatson368 at yahoo dot com
The following patch has been added/updated:

Patch Name: Seurah
Revision:   1614951815
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 20:01:34 2024 UTC