On Wed, Apr 26, 2000 at 11:09:39PM +0200, Marcus Brinkmann wrote:
> 
> Note that the first file, io_seek.c, defines diskfs_readonly as a macro to 0.

Ah, I think I see clearly now. I should think first, and then post.

Anyway, here is a patch.

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
[EMAIL PROTECTED],     [EMAIL PROTECTED]    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       [EMAIL PROTECTED]
diff -ru /mnt/marcus/gnu/cvs/hurd/libdiskfs/ChangeLog libdiskfs/ChangeLog
--- /mnt/marcus/gnu/cvs/hurd/libdiskfs/ChangeLog        Sat Mar 18 19:37:13 2000
+++ libdiskfs/ChangeLog Wed Apr 26 23:24:42 2000
@@ -1,3 +1,8 @@
+2000-04-26  Marcus Brinkmann  <[EMAIL PROTECTED]>
+
+       * io-seek.c: Prevent diskfs_check_readonly from having its usual
+       effect here, instead doing this with diskfs_readonly.
+
 2000-03-17  Roland McGrath  <[EMAIL PROTECTED]>
 
        * file-exec.c (diskfs_S_file_exec): Fix typo and braino in last change.
diff -ru /mnt/marcus/gnu/cvs/hurd/libdiskfs/io-seek.c libdiskfs/io-seek.c
--- /mnt/marcus/gnu/cvs/hurd/libdiskfs/io-seek.c        Thu May  9 20:02:50 1996
+++ libdiskfs/io-seek.c Wed Apr 26 23:23:12 2000
@@ -19,7 +19,7 @@
 #include "io_S.h"
 #include <unistd.h>
 
-#define diskfs_readonly 0
+#define diskfs_check_readonly() 0
 #define diskfs_synchronous 0
 
 /* Implement io_seek as described in <hurd/io.defs>. */

Reply via email to