1.1 --- a/include/File.h Sun Sep 20 15:14:12 2009 -0700
1.2 +++ b/include/File.h Sun Sep 20 21:25:47 2009 -0700
1.3 @@ -89,6 +89,8 @@
1.4
1.5 private:
1.6 static int _open (const char *filename, int posixMode) throw(Error);
1.7 + static ssize_t _check (ssize_t result) throw(Error) {_check((int)result); return result;}
1.8 + static off_t _check (off_t result) throw(Error) {_check((int)result); return result;}
1.9 static int _check (int result) throw(Error);
1.10 static void _checkRead (ssize_t result, size_t expectedSize) throw(Error);
1.11 bool _lock (bool block);