vte r2233 - in trunk: . src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r2233 - in trunk: . src
- Date: Sat, 29 Nov 2008 23:56:11 +0000 (UTC)
Author: chpe
Date: Sat Nov 29 23:56:11 2008
New Revision: 2233
URL: http://svn.gnome.org/viewvc/vte?rev=2233&view=rev
Log:
Bug 540951 â The gnome-pty-helper is spawn when its not needed
* src/pty.c: (_vte_pty_open): Don't use the pty helper when we don't
need to update any of utmp, wtmp, lastlog. Patch by Alex Cornejo.
Modified:
trunk/ChangeLog
trunk/src/pty.c
Modified: trunk/src/pty.c
==============================================================================
--- trunk/src/pty.c (original)
+++ trunk/src/pty.c Sat Nov 29 23:56:11 2008
@@ -998,7 +998,7 @@
}
g_assert(op >= 0);
g_assert(op < G_N_ELEMENTS(opmap));
- if (ret == -1) {
+ if (ret == -1 && op != 0) {
ret = _vte_pty_open_with_helper(&child, env_add, command, argv,
directory,
columns, rows, opmap[op]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]