ismounted.c (check_mntent_file): Work around GNU hurd brain damage.
2001-06-13 Theodore Tso <tytso@valinux.com>
+ * ismounted.c (check_mntent_file): Work around GNU hurd brain
+ damage.
+
* Makefile.in: Limit some .o files from being included into the
library if --disable-debugfs, --disable-swapfs,
--disable-imager, or --disable-resizer are used.
break;
if (mnt == 0) {
+#ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */
struct stat st_root, st_file;
/*
* Do an extra check to see if this is the root device. We
goto is_root;
}
}
+#endif
endmntent (f);
return 0;
}