10139N/A--- gnome-mount-0.4/src/gnome-mount.c-orig 2009-09-17 10:30:23.371242221 -0500
10139N/A+++ gnome-mount-0.4/src/gnome-mount.c 2009-09-17 10:30:28.283317232 -0500
10139N/A #include <libhal-storage.h>
10139N/A+#include <sys/mnttab.h>
10139N/A+ if ((f = setmntent ("/proc/mounts", "r")) != NULL) {
10139N/A+ if (strcmp (mnt.mnt_fsname, device_file) == 0) {
10139N/A+ if (mnt.mnt_dir != NULL) {
10139N/A+ mount_point = g_strdup (mnt.mnt_dir);
10139N/A+ mpref.mnt_special = (char *)device_file;
10139N/A+ mount_point = g_strdup (mnt.mnt_mountp);
10139N/A- if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, dmesg, -1, &error)) ||
10139N/A+ if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, dmesg, DBUS_TIMEOUT, &error)) ||
10139N/A- if ((f = setmntent ("/proc/mounts", "r")) != NULL) {
10139N/A- if (strcmp (mnt.mnt_fsname, device_file) == 0) {
10139N/A- if (mnt.mnt_dir != NULL) {
10139N/A- mount_point = g_strdup (mnt.mnt_dir);
10139N/A- if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, -1, &error)) ||
10139N/A+ if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, DBUS_TIMEOUT, &error)) ||
11912N/A- if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, -1, &error))) {
11912N/A+ if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, DBUS_TIMEOUT, &error))) {
11838N/A- if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, -1, &error)) ||
11838N/A+ if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, DBUS_TIMEOUT, &error)) ||
11827N/A if (strcmp (error.name, "org.freedesktop.Hal.Device.Volume.Crypto.SetupPasswordError") == 0) {
11266N/A- if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, -1, &error)) ||