rpms/plymouth/devel plymouth-0.6.0-more-debug.patch, 1.2, 1.3 plymouth.spec, 1.97, 1.98
Ray Strode
rstrode at fedoraproject.org
Mon Nov 10 05:29:21 UTC 2008
- Previous message (by thread): rpms/hping3/F-8 hping3.spec,1.6,1.7
- Next message (by thread): rpms/autofs/F-8 autofs-5.0.2-handle-zero-length-nis-key-update.patch, NONE, 1.1 autofs-5.0.3-add-missing-uris-list-locking.patch, NONE, 1.1 autofs-5.0.3-add-replicated-debug-logging.patch, NONE, 1.1 autofs-5.0.3-add-umount_wait-parameter.patch, NONE, 1.1 autofs-5.0.3-allow-dir-create-on-nfs-root.patch, NONE, 1.1 autofs-5.0.3-check-direct-path-len.patch, NONE, 1.1 autofs-5.0.3-check-for-kernel-automount-fix.patch, NONE, 1.1 autofs-5.0.3-check-for-kernel-automount.patch, NONE, 1.1 autofs-5.0.3-check-replicated-list-after-probe.patch, NONE, 1.1 autofs-5.0.3-clear-stale-on-map-read.patch, NONE, 1.1 autofs-5.0.3-dont-abuse-ap-ghost-field.patch, NONE, 1.1 autofs-5.0.3-dont-block-on-expire.patch, NONE, 1.1 autofs-5.0.3-dont-readmap-on-hup-for-new-mount.patch, NONE, 1.1 autofs-5.0.3-dont-use-proc-for-is-running-check.patch, NONE, 1.1 autofs-5.0.3-expire-thread-create-cond-handling.patch, NONE, 1.1 autofs-5.0.3-fix-couple-of-memory-leaks.patch, NONE, 1.1 autofs-5.0.3-fix-fd-leak-at-multi-mount-fail.patch, NONE, 1.1 autofs-5.0.3-fix-get-user-info-check.patch, NONE, 1.1 autofs-5.0.3-fix-ifc-buff-size-fix-2.patch, NONE, 1.1 autofs-5.0.3-fix-ifc-buff-size.patch, NONE, 1.1 autofs-5.0.3-fix-included-browse-map-not-found.patch, NONE, 1.1 autofs-5.0.3-fix-incorrect-multi-mount-mountpoint.patch, NONE, 1.1 autofs-5.0.3-fix-multi-mount-race.patch, NONE, 1.1 autofs-5.0.3-fix-multi-source-messages.patch, NONE, 1.1 autofs-5.0.3-fix-nfs4-colon-escape.patch, NONE, 1.1 autofs-5.0.3-fix-percent-hack.patch, NONE, 1.1 autofs-5.0.3-fix-proximity-other-timeout.patch, NONE, 1.1 autofs-5.0.3-fix-rootless-direct-multi-mount-expire.patch, NONE, 1.1 autofs-5.0.3-library-reload-fix.patch, NONE, 1.1 autofs-5.0.3-lookup-next-soucre-stale-entry.patch, NONE, 1.1 autofs-5.0.3-make-handle_mounts-startup-cond-distinct.patch, NONE, 1.1 autofs-5.0.3-map-type-in-map-name-fix.patch, NONE, 1.1 autofs-5.0.3-map-type-in-map-name.patch, NONE, 1.1 autofs-5.0.3-mount-thread-create-cond-handling-fix.patch, NONE, 1.1 autofs-5.0.3-mtab-as-proc-mounts-fix.patch, NONE, 1.1 autofs-5.0.3-mtab-as-proc-mounts.patch, NONE, 1.1 autofs-5.0.3-nisplus-partial-and-free.patch, NONE, 1.1 autofs-5.0.3-nss-source-any.patch, NONE, 1.1 autofs-5.0.3-override-is-running-check.patch, NONE, 1.1 autofs-5.0.3-refactor-mount-request-vars.patch, NONE, 1.1 autofs-5.0.3-remove-redundant-dns-name-lookups.patch, NONE, 1.1 autofs-5.0.3-submount-shutdown-recovery-12-fix.patch, NONE, 1.1 autofs-5.0.3-submount-shutdown-recovery-12.patch, NONE, 1.1 autofs-5.0.3-update-replicated-doco.patch, NONE, 1.1 autofs-5.0.3-use-dev-urandom.patch, NONE, 1.1 autofs-5.0.3-wait-submount-expire-complete.patch, NONE, 1.1 autofs.spec, 1.239, 1.240
- 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-serv30072
Modified Files:
plymouth-0.6.0-more-debug.patch plymouth.spec
Log Message:
- Fix up more-debug patch to not assert with plymouth:nolog
(bug 470569)
plymouth-0.6.0-more-debug.patch:
Index: plymouth-0.6.0-more-debug.patch
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth-0.6.0-more-debug.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plymouth-0.6.0-more-debug.patch 7 Nov 2008 18:50:18 -0000 1.2
+++ plymouth-0.6.0-more-debug.patch 10 Nov 2008 05:29:21 -0000 1.3
@@ -1,6 +1,6 @@
diff -up plymouth-0.6.0/src/libplybootsplash/ply-window.c.more-debug plymouth-0.6.0/src/libplybootsplash/ply-window.c
---- plymouth-0.6.0/src/libplybootsplash/ply-window.c.more-debug 2008-11-07 12:08:25.000000000 -0500
-+++ plymouth-0.6.0/src/libplybootsplash/ply-window.c 2008-11-07 12:10:04.000000000 -0500
+--- plymouth-0.6.0/src/libplybootsplash/ply-window.c.more-debug 2008-11-05 17:15:29.000000000 -0500
++++ plymouth-0.6.0/src/libplybootsplash/ply-window.c 2008-11-07 13:49:47.000000000 -0500
@@ -493,7 +493,10 @@ ply_window_open (ply_window_t *window)
window->vt_number = get_active_vt ();
@@ -26,9 +26,17 @@
if (!ply_window_set_unbuffered_input (window))
ply_trace ("window '%s' will be line buffered", window->tty_name);
diff -up plymouth-0.6.0/src/main.c.more-debug plymouth-0.6.0/src/main.c
---- plymouth-0.6.0/src/main.c.more-debug 2008-11-07 12:01:46.000000000 -0500
-+++ plymouth-0.6.0/src/main.c 2008-11-07 13:49:20.000000000 -0500
-@@ -78,6 +78,7 @@ static ply_window_t *create_window (stat
+--- plymouth-0.6.0/src/main.c.more-debug 2008-11-07 13:49:47.000000000 -0500
++++ plymouth-0.6.0/src/main.c 2008-11-10 00:27:02.000000000 -0500
+@@ -64,6 +64,7 @@ typedef struct
+ uint32_t showing_details : 1;
+ uint32_t system_initialized : 1;
+ uint32_t is_redirected : 1;
++ uint32_t is_attached : 1;
+
+ char *console;
+
+@@ -78,6 +79,7 @@ static ply_window_t *create_window (stat
static bool attach_to_running_session (state_t *state);
static void on_escape_pressed (state_t *state);
@@ -36,7 +44,7 @@
static void
on_session_output (state_t *state,
-@@ -220,6 +221,8 @@ has_open_window (state_t *state)
+@@ -220,6 +222,8 @@ has_open_window (state_t *state)
{
ply_list_node_t *node;
@@ -45,7 +53,7 @@
node = ply_list_get_first_node (state->windows);
while (node != NULL)
{
-@@ -231,7 +234,22 @@ has_open_window (state_t *state)
+@@ -231,7 +235,22 @@ has_open_window (state_t *state)
window = ply_list_node_get_data (node);
if (ply_window_is_open (window))
@@ -69,7 +77,7 @@
node = next_node;
}
-@@ -324,11 +342,22 @@ close_windows (state_t *state)
+@@ -324,10 +343,21 @@ close_windows (state_t *state)
static void
on_show_splash (state_t *state)
{
@@ -78,18 +86,31 @@
open_windows (state);
- if (!state->is_redirected && state->ptmx >= 0)
+- state->is_redirected = attach_to_running_session (state);
+ has_window = has_open_window (state);
+
-+ if (!state->is_redirected && state->ptmx >= 0 && has_window)
- state->is_redirected = attach_to_running_session (state);
-
-+ if (!has_window && state->is_redirected)
++ if (!state->is_attached && state->ptmx >= 0 && has_window)
++ state->is_attached = attach_to_running_session (state);
++
++ if (!has_window && state->is_attached)
+ {
+ ply_trace ("no open windows, detaching session");
+ ply_terminal_session_detach (state->session);
-+ state->is_redirected = false;
++ state->is_attached = false;
+ }
-+
+
if (plymouth_should_show_default_splash (state))
show_default_splash (state);
- else
+@@ -581,10 +611,12 @@ attach_to_running_session (state_t *stat
+ ply_restore_errno ();
+
+ state->is_redirected = false;
++ state->is_attached = false;
+ return false;
+ }
+
+ state->is_redirected = should_be_redirected;
++ state->is_attached = true;
+ state->session = session;
+
+ return true;
Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- plymouth.spec 7 Nov 2008 19:01:00 -0000 1.97
+++ plymouth.spec 10 Nov 2008 05:29:21 -0000 1.98
@@ -5,7 +5,7 @@
Summary: Plymouth Graphical Boot Animation and Logger
Name: plymouth
Version: 0.6.0
-Release: 0.2008.11.06.3%{?dist}
+Release: 0.2008.11.06.4%{?dist}
License: GPLv2+
Group: System Environment/Base
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -311,6 +311,10 @@
%defattr(-, root, root)
%changelog
+* Sun Nov 9 2008 Ray Strode <rstrode at redhat.com> 0.6.0-0.2008.11.06.4
+- Fix up more-debug patch to not assert with plymouth:nolog
+ (bug 470569)
+
* Fri Nov 7 2008 Ray Strode <rstrode at redhat.com> 0.6.0-0.2008.11.06.3
- add some more debug spew to help debug a problem jlaska is having
- Previous message (by thread): rpms/hping3/F-8 hping3.spec,1.6,1.7
- Next message (by thread): rpms/autofs/F-8 autofs-5.0.2-handle-zero-length-nis-key-update.patch, NONE, 1.1 autofs-5.0.3-add-missing-uris-list-locking.patch, NONE, 1.1 autofs-5.0.3-add-replicated-debug-logging.patch, NONE, 1.1 autofs-5.0.3-add-umount_wait-parameter.patch, NONE, 1.1 autofs-5.0.3-allow-dir-create-on-nfs-root.patch, NONE, 1.1 autofs-5.0.3-check-direct-path-len.patch, NONE, 1.1 autofs-5.0.3-check-for-kernel-automount-fix.patch, NONE, 1.1 autofs-5.0.3-check-for-kernel-automount.patch, NONE, 1.1 autofs-5.0.3-check-replicated-list-after-probe.patch, NONE, 1.1 autofs-5.0.3-clear-stale-on-map-read.patch, NONE, 1.1 autofs-5.0.3-dont-abuse-ap-ghost-field.patch, NONE, 1.1 autofs-5.0.3-dont-block-on-expire.patch, NONE, 1.1 autofs-5.0.3-dont-readmap-on-hup-for-new-mount.patch, NONE, 1.1 autofs-5.0.3-dont-use-proc-for-is-running-check.patch, NONE, 1.1 autofs-5.0.3-expire-thread-create-cond-handling.patch, NONE, 1.1 autofs-5.0.3-fix-couple-of-memory-leaks.patch, NONE, 1.1 autofs-5.0.3-fix-fd-leak-at-multi-mount-fail.patch, NONE, 1.1 autofs-5.0.3-fix-get-user-info-check.patch, NONE, 1.1 autofs-5.0.3-fix-ifc-buff-size-fix-2.patch, NONE, 1.1 autofs-5.0.3-fix-ifc-buff-size.patch, NONE, 1.1 autofs-5.0.3-fix-included-browse-map-not-found.patch, NONE, 1.1 autofs-5.0.3-fix-incorrect-multi-mount-mountpoint.patch, NONE, 1.1 autofs-5.0.3-fix-multi-mount-race.patch, NONE, 1.1 autofs-5.0.3-fix-multi-source-messages.patch, NONE, 1.1 autofs-5.0.3-fix-nfs4-colon-escape.patch, NONE, 1.1 autofs-5.0.3-fix-percent-hack.patch, NONE, 1.1 autofs-5.0.3-fix-proximity-other-timeout.patch, NONE, 1.1 autofs-5.0.3-fix-rootless-direct-multi-mount-expire.patch, NONE, 1.1 autofs-5.0.3-library-reload-fix.patch, NONE, 1.1 autofs-5.0.3-lookup-next-soucre-stale-entry.patch, NONE, 1.1 autofs-5.0.3-make-handle_mounts-startup-cond-distinct.patch, NONE, 1.1 autofs-5.0.3-map-type-in-map-name-fix.patch, NONE, 1.1 autofs-5.0.3-map-type-in-map-name.patch, NONE, 1.1 autofs-5.0.3-mount-thread-create-cond-handling-fix.patch, NONE, 1.1 autofs-5.0.3-mtab-as-proc-mounts-fix.patch, NONE, 1.1 autofs-5.0.3-mtab-as-proc-mounts.patch, NONE, 1.1 autofs-5.0.3-nisplus-partial-and-free.patch, NONE, 1.1 autofs-5.0.3-nss-source-any.patch, NONE, 1.1 autofs-5.0.3-override-is-running-check.patch, NONE, 1.1 autofs-5.0.3-refactor-mount-request-vars.patch, NONE, 1.1 autofs-5.0.3-remove-redundant-dns-name-lookups.patch, NONE, 1.1 autofs-5.0.3-submount-shutdown-recovery-12-fix.patch, NONE, 1.1 autofs-5.0.3-submount-shutdown-recovery-12.patch, NONE, 1.1 autofs-5.0.3-update-replicated-doco.patch, NONE, 1.1 autofs-5.0.3-use-dev-urandom.patch, NONE, 1.1 autofs-5.0.3-wait-submount-expire-complete.patch, NONE, 1.1 autofs.spec, 1.239, 1.240
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list