bug-gnulib
[Top][All Lists]
Advanced

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

Re: [patch #6758] Add support for Atari FreeMiNT OS to fpurge


From: Alan Hourihane
Subject: Re: [patch #6758] Add support for Atari FreeMiNT OS to fpurge
Date: Thu, 05 Mar 2009 23:49:32 +0000

On Sun, 2009-03-01 at 15:00 +0100, Bruno Haible wrote:
> Alan Hourihane wrote:
> > Yes. This does the trick.
> 
> Committed.

One last one to the tests...

Alan.

diff --git a/tests/test-ftell.c b/tests/test-ftell.c
index 845d944..71f3ed2 100644
--- a/tests/test-ftell.c
+++ b/tests/test-ftell.c
@@ -101,11 +101,13 @@ main (int argc, char **argv)
       ASSERT (ftell (stdin) == 2);
     }
 
+#if !defined __MINT__ /* FreeMiNT has problems seeking past end of file
*/
   /* Test ftell beyond end of file.  */
   ASSERT (fseek (stdin, 0, SEEK_END) == 0);
   ch = ftell (stdin);
   ASSERT (fseek (stdin, 10, SEEK_END) == 0);
   ASSERT (ftell (stdin) == ch + 10);
+#endif
 
   return 0;
 }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]