vte r2232 - in trunk: . gnome-pty-helper
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r2232 - in trunk: . gnome-pty-helper
- Date: Sat, 29 Nov 2008 23:51:44 +0000 (UTC)
Author: chpe
Date: Sat Nov 29 23:51:44 2008
New Revision: 2232
URL: http://svn.gnome.org/viewvc/vte?rev=2232&view=rev
Log:
Bug 465036 â gnome-pty-helper locks /var/run/utmp
* gnome-pty-helper/gnome-utmp.c: (update_utmp): Close the utmp
database after updating it. Patch by Kevin W. Rudd.
Modified:
trunk/ChangeLog
trunk/gnome-pty-helper/gnome-utmp.c
Modified: trunk/gnome-pty-helper/gnome-utmp.c
==============================================================================
--- trunk/gnome-pty-helper/gnome-utmp.c (original)
+++ trunk/gnome-pty-helper/gnome-utmp.c Sat Nov 29 23:51:44 2008
@@ -158,6 +158,7 @@
{
setutxent();
pututxline (ut);
+ endutxent();
}
#elif defined(HAVE_GETUTENT)
static void
@@ -165,6 +166,7 @@
{
setutent();
pututline (ut);
+ endutent();
}
#elif defined(HAVE_GETTTYENT)
/* This variant is sutable for most BSD */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]