From gufl0000@stud.uni-sb.de Tue Aug  3 21:04:14 1999
Date: Mon, 2 Aug 1999 15:27:52 +0200
From: Guido Flohr <gufl0000@stud.uni-sb.de>
To: johnnie ligotage <johnnie@ligotage.demon.co.uk>
Cc: MiNT mailing list <mint@fishpool.com>
Subject: [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

