- Update fix-serial-consoles.patch to fix a crash in some rare

cases.

OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=144
This commit is contained in:
Ismail Dönmez 2014-06-05 07:26:55 +00:00 committed by Git OBS Bridge
parent 1e32b6dd24
commit 362b0053e8
2 changed files with 11 additions and 2 deletions

View File

@ -44,14 +44,17 @@ Index: plymouth-0.8.8_git20140327/src/libply-splash-core/ply-device-manager.c
{
ply_trace ("serial consoles detected, managing them with details forced");
ply_hashtable_foreach (manager->terminals,
@@ -838,6 +839,12 @@ ply_device_manager_has_open_seats (ply_d
@@ -838,6 +839,15 @@ ply_device_manager_has_open_seats (ply_d
return false;
}
+bool
+ply_device_manager_has_serial_consoles (ply_device_manager_t *manager)
+{
+ return manager->has_serial_consoles;
+ if (manager)
+ return manager->has_serial_consoles;
+ else
+ return false;
+}
+
ply_list_t *

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 5 07:24:10 UTC 2014 - idonmez@suse.com
- Update fix-serial-consoles.patch to fix a crash in some rare
cases.
-------------------------------------------------------------------
Wed May 21 12:11:25 UTC 2014 - idonmez@suse.com