Bug #5 [PATCH]: fclose in php3_minit_file undeclared

From: Date: Fri, 05 Mar 2021 13:43:35 +0000
Subject: Bug #5 [PATCH]: fclose in php3_minit_file undeclared
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232575@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=5&edit=1 ID: 5 Patch added by: kimwatson368@yahoo.com Reported by: asparks at nss dot harris dot com Summary: fclose in php3_minit_file undeclared Status: Closed Type: Bug Package: Compile Failure Operating System: SunOS 4.1.4 PHP Version: 3.0b3 Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: Seurah Revision: 1614951815 URL: https://bugs.php.net/patch-display.php?bug=5&patch=Seurah&revision=1614951815 Previous Comments: ------------------------------------------------------------------------ [2019-07-15 14:29:37] nikic@php.net Automatic comment from SVN on behalf of nikic Revision: http://svn.php.net/viewvc/?view=revision&revision=347753 Log: Fix typos Patch by carusogabriel. Closes php/doc-en#5. ------------------------------------------------------------------------ [2018-05-29 19:39:33] jbnahan@php.net Automatic comment from SVN on behalf of jbnahan Revision: http://svn.php.net/viewvc/?view=revision&revision=345078 Log: Fix Exemple #5 from EN ------------------------------------------------------------------------ [2012-03-05 23:55:05] 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 ------------------------------------------------------------------------ [1998-01-29 14:20:01] 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. ------------------------------------------------------------------------ [1998-01-25 19:46:13] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=5&edit=1

« previous php.bugs (#232575) next »