[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] FreeMiNT patch - lseek on terminal should return ESPIPE
Patch attached.
Alan.
Index: sys/dosfile.c
===================================================================
RCS file: /mint/freemint/sys/dosfile.c,v
retrieving revision 1.29
diff -u -r1.29 dosfile.c
--- sys/dosfile.c 27 Jun 2008 14:05:44 -0000 1.29
+++ sys/dosfile.c 28 Jun 2008 09:47:34 -0000
@@ -322,7 +322,7 @@
if (r) return r;
if (is_terminal (f))
- return 0;
+ return ESPIPE;
return xdd_lseek (f, place, how);
}