[Nautilus-list] [PATCH] Make Nautilus able to mount volumes again
- From: Miguel Rodríguez Pérez <migrax terra es>
- To: Lista de nautilus <nautilus-list lists eazel com>
- Subject: [Nautilus-list] [PATCH] Make Nautilus able to mount volumes again
- Date: 22 May 2001 23:45:46 +0200
It is quite difficult for me to explain myself in English, and, anyway,
I think the subject says it all, so here goes the patch.
Index: configure.in
===================================================================
RCS file: /cvs/gnome/nautilus/configure.in,v
retrieving revision 1.347
diff -p -u -r1.347 configure.in
--- configure.in 2001/05/17 18:24:15 1.347
+++ configure.in 2001/05/22 21:41:19
@@ -98,7 +98,7 @@ dnl ====================================
echo "
Determining mount system properties:
"
-AC_CHECK_FUNCS( setmntent endmntent )
+AC_CHECK_FUNCS( setmntent endmntent hasmntopt )
AC_CHECK_HEADERS( mntent.h sys/mnttab.h sys/vfstab.h sys/cdio.h )
echo "
"
Index: libnautilus-private/nautilus-volume-monitor.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-volume-monitor.c,v
retrieving revision 1.88
diff -p -u -r1.88 nautilus-volume-monitor.c
--- libnautilus-private/nautilus-volume-monitor.c 2001/05/11 01:30:31 1.88
+++ libnautilus-private/nautilus-volume-monitor.c 2001/05/22 21:41:33
@@ -445,7 +445,7 @@ get_removable_volumes (void)
volumes = mount_volume_prepend_filesystem (volumes, volume);
}
}
-#elif defined (HAVE_MNTTENT_H)
+#elif defined (HAVE_MNTENT_H)
while ((ent = getmntent (file)) != NULL) {
if (has_removable_mntent_options (ent)) {
volume = create_volume (ent->mnt_fsname, ent->mnt_dir, ent->mnt_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]