8520
|
1 |
--- gnome-vfs-2.13.3/libgnomevfs/gnome-vfs-pty.c.orig Wed Dec 21 15:13:34 2005
|
|
2 |
+++ gnome-vfs-2.13.3/libgnomevfs/gnome-vfs-pty.c Wed Dec 21 15:19:31 2005
|
|
3 |
@@ -307,6 +307,8 @@
|
|
4 |
}
|
|
5 |
|
|
6 |
#ifdef HAVE_UTMP_H
|
|
7 |
+/* Solaris doesn't have login_tty. It uses utmpx. */
|
|
8 |
+#if !defined(sun) || !defined(__SVR4)
|
|
9 |
/* This sets stdin, stdout, stderr to the socket */
|
|
10 |
if (login && login_tty (fd) == -1) {
|
|
11 |
g_printerr ("mount child process login_tty failed: %s\n", strerror (errno));
|
|
12 |
@@ -313,6 +315,7 @@
|
|
13 |
return -1;
|
|
14 |
}
|
|
15 |
#endif
|
|
16 |
+#endif
|
|
17 |
|
|
18 |
/* Signal to the parent that we've finished setting things up by
|
|
19 |
* sending an arbitrary byte over the status pipe and waiting for
|