1 Mar 2009 01:34
Re: [patch #6758] Add support for Atari FreeMiNT OS
Bruno Haible <bruno <at> clisp.org>
2009-03-01 00:34:47 GMT
2009-03-01 00:34:47 GMT
Alan Hourihane wrote:
> I know. It's a kernel issue that needs dealing with
OK, if you already know it's a kernel issue, it's certainly not a problem
caused by your proposed ftello / fseek... patches. So I'm applying your patch:
2009-02-28 Bruno Haible <bruno <at> clisp.org>
* tests/test-freadseek.c (main): Disable test beyond end of file on FreeMiNT.
* tests/test-ftello.c (main): Likewise.
Patch by Alan Hourihane <alanh <at> fairlite.co.uk>.
--- tests/test-freadseek.c.orig 2009-03-01 01:31:50.000000000 +0100
+++ tests/test-freadseek.c 2009-03-01 01:30:09.000000000 +0100
<at> <at> -1,5 +1,5 <at> <at>
/* Test of freadseek() function.
- Copyright (C) 2007-2008 Free Software Foundation, Inc.
+ Copyright (C) 2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
<at> <at> -92,10 +92,12 <at> <at>
ASSERT (fgetc (stdin) == EOF);
ASSERT (!ferror (stdin));
+#if !defined __MINT__ /* FreeMiNT has problems seeking past end of file */
/* Test move beyond end of file. */
ASSERT (freadseek (stdin, 1000000) == 0);
ASSERT (fgetc (stdin) == EOF);
ASSERT (!ferror (stdin));
(Continue reading)
RSS Feed