rpms/plymouth/devel plymouth-0.7.0-destroy-terminal-on-detach.patch, NONE, 1.1 plymouth.spec, 1.124, 1.125
Ray Strode
rstrode at fedoraproject.org
Wed Mar 18 18:18:51 UTC 2009
- Previous message (by thread): rpms/sylpheed/F-10 sylpheed-2.6.0-addrbook-csv-import.patch, NONE, 1.1 .cvsignore, 1.38, 1.39 sources, 1.38, 1.39 sylpheed.spec, 1.89, 1.90 sylpheed-2.5.0-socket-redefine.patch, 1.1, NONE sylpheed-2.5.0-svn2029.patch, 1.1, NONE sylpheed-2.5.0rc2-gtk-2.13.1.patch, 1.3, NONE
- Next message (by thread): rpms/mdadm/devel mdadm-3.0-incremental.patch, NONE, 1.1 .cvsignore, 1.22, 1.23 mdadm-3.0-cast.patch, 1.1, 1.2 mdadm.spec, 1.63, 1.64 sources, 1.22, 1.23 mdadm-3.0-alias.patch, 1.1, NONE mdadm-3.0-udev.patch, 1.1, NONE mdadm-3.0-warn.patch, 1.1, NONE mdadm.rules, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rstrode
Update of /cvs/pkgs/rpms/plymouth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18150
Modified Files:
plymouth.spec
Added Files:
plymouth-0.7.0-destroy-terminal-on-detach.patch
Log Message:
- Destroy terminal on detach (may help with bug 490965)
plymouth-0.7.0-destroy-terminal-on-detach.patch:
--- NEW FILE plymouth-0.7.0-destroy-terminal-on-detach.patch ---
diff --git a/src/libply/ply-terminal-session.c b/src/libply/ply-terminal-session.c
index 82e0c00..2a4ca8d 100644
--- a/src/libply/ply-terminal-session.c
+++ b/src/libply/ply-terminal-session.c
@@ -56,6 +56,7 @@ struct _ply_terminal_session
uint32_t is_running : 1;
uint32_t console_is_redirected : 1;
+ uint32_t created_terminal_device : 1;
};
static bool ply_terminal_session_open_console (ply_terminal_session_t *session);
@@ -325,6 +326,8 @@ ply_terminal_session_attach (ply_terminal_session_t *session,
ply_trace ("could not create pseudo-terminal: %m");
return false;
}
+
+ session->created_terminal_device = true;
}
if (should_redirect_console)
@@ -364,6 +367,13 @@ ply_terminal_session_detach (ply_terminal_session_t *session)
ply_terminal_session_unredirect_console (session);
}
+ if (session->created_terminal_device)
+ {
+ ply_trace ("ptmx wasn't originally passed in, destroying created one");
+ ply_terminal_destroy_device (session->terminal);
+ session->created_terminal_device = false;
+ }
+
session->output_handler = NULL;
session->done_handler = NULL;
session->user_data = NULL;
Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- plymouth.spec 10 Mar 2009 18:55:58 -0000 1.124
+++ plymouth.spec 18 Mar 2009 18:18:20 -0000 1.125
@@ -5,7 +5,7 @@
Summary: Graphical Boot Animation and Logger
Name: plymouth
Version: 0.7.0
-Release: 0.2009.03.10.1%{?dist}
+Release: 0.2009.03.10.2%{?dist}
License: GPLv2+
Group: System Environment/Base
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -18,6 +18,8 @@
Requires(post): plymouth-scripts
Requires: initscripts >= 8.83-1
+Patch0: plymouth-0.7.0-destroy-terminal-on-detach.patch
+
Obsoletes: plymouth-text-and-details-only < %{version}-%{release}
%description
@@ -149,6 +151,7 @@
%prep
%setup -q
+%patch0 -p1 -b .destroy-terminal-on-detach
%build
%configure --enable-tracing --disable-tests --without-boot-entry \
@@ -319,6 +322,9 @@
%defattr(-, root, root)
%changelog
+* Wed Mar 18 2009 Ray Strode <rstrode at redhat.com> 0.7.0-0.2009.03.10.2
+- Destroy terminal on detach (may help with bug 490965)
+
* Tue Mar 10 2009 Ray Strode <rstrode at redhat.com> 0.7.0-0.2009.03.10.1
- Address one more issue with password handling. It wasn't working
well for secondary devices when using the "details" plugin.
- Previous message (by thread): rpms/sylpheed/F-10 sylpheed-2.6.0-addrbook-csv-import.patch, NONE, 1.1 .cvsignore, 1.38, 1.39 sources, 1.38, 1.39 sylpheed.spec, 1.89, 1.90 sylpheed-2.5.0-socket-redefine.patch, 1.1, NONE sylpheed-2.5.0-svn2029.patch, 1.1, NONE sylpheed-2.5.0rc2-gtk-2.13.1.patch, 1.3, NONE
- Next message (by thread): rpms/mdadm/devel mdadm-3.0-incremental.patch, NONE, 1.1 .cvsignore, 1.22, 1.23 mdadm-3.0-cast.patch, 1.1, 1.2 mdadm.spec, 1.63, 1.64 sources, 1.22, 1.23 mdadm-3.0-alias.patch, 1.1, NONE mdadm-3.0-udev.patch, 1.1, NONE mdadm-3.0-warn.patch, 1.1, NONE mdadm.rules, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list