php.net |  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
Votes:4
Avg. Score:3.5 ± 0.5
Reproduced:1 of 3 (33.3%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
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
 [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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] johannes@php.net
Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=323929
Log: Fix bug #60948 mysqlnd FTBFS when -Wformat-security is enabled

# 5.3 not affected
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC