|
|
@@ -543,19 +543,6 @@ PHYSFS_sint64 __PHYSFS_platformFileLength(void *opaque)
|
|
|
} /* __PHYSFS_platformFileLength */
|
|
|
|
|
|
|
|
|
-int __PHYSFS_platformEOF(void *opaque)
|
|
|
-{
|
|
|
- PHYSFS_sint64 len, pos;
|
|
|
-
|
|
|
- len = __PHYSFS_platformFileLength(opaque);
|
|
|
- BAIL_IF_MACRO(len == -1, NULL, 1); /* (*shrug*) */
|
|
|
- pos = __PHYSFS_platformTell(opaque);
|
|
|
- BAIL_IF_MACRO(pos == -1, NULL, 1); /* (*shrug*) */
|
|
|
-
|
|
|
- return (pos >= len);
|
|
|
-} /* __PHYSFS_platformEOF */
|
|
|
-
|
|
|
-
|
|
|
int __PHYSFS_platformFlush(void *opaque)
|
|
|
{
|
|
|
return (os2err(DosResetBuffer((HFILE) opaque)) == NO_ERROR);
|