[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] MiNTLib, fclose_all_files bug



Hi,

there is a serious typo in src/exit.c of the MiNTLib 0.52.3b.  Please
apply the patch at the end of this mail.

If you don't fix it, you will get a linker message "unresolved reference
to ___fclose_all_files" on every executable you link with the new 
lib.

Thanks to Johnnie Ligotage for reporting the bug and sorry for the
inconvenience.

Ciao

Guido

--- exit.c.orig Mon Aug  2 15:20:35 1999
+++ exit.c      Mon Aug  2 15:15:41 1999
@@ -11,7 +11,7 @@
 #include <stdio.h>

 #ifndef HAVE_WEAK_SYMBOLS
-# define ___fclose_all_file _fclose_all_files
+# define ___fclose_all_files _fclose_all_files
 # define __exit exit
 #endif