$ mount -t isofs /dev/hd2 /cdrom
gives segmentation fault.
Patch:
---cut here---
diff -ur hurd/sutils/fstab.c hurd-new/sutils/fstab.c
--- hurd/sutils/fstab.c Fri Nov 19 08:06:18 1999
+++ hurd-new/sutils/fstab.c     Wed Dec 13 11:06:03 2000
@@ -275,7 +275,12 @@
   /* Copy each mntent field from MNTENT into FS's version.  */
   end = fs->storage;
 #define STORE(field) \
-    fs->mntent.field = end; end = stpcpy (end, mntent->field) + 1
+    if (mntent->field) \
+      { \
+       fs->mntent.field = end; end = stpcpy (end, mntent->field) + 1; \
+      } else { \
+        fs->mntent.field = 0; *end++ = 0;\
+      }
   STORE (mnt_fsname);
   STORE (mnt_dir);
   STORE (mnt_type);
---cut here---

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to