Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 204992 Details for
Bug 286046
sys-apps/hal-0.5.11-r9 hald segfault when initializing RAID partition block device
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix crash in hald.c
md-crash.patch (text/plain), 996 bytes, created by
Jeff Hansen
on 2009-09-23 04:24:32 UTC
(
hide
)
Description:
Fix crash in hald.c
Filename:
MIME Type:
Creator:
Jeff Hansen
Created:
2009-09-23 04:24:32 UTC
Size:
996 bytes
patch
obsolete
>--- ./hald/linux/blockdev.c.orig 2009-09-22 21:54:44.179999843 -0600 >+++ ./hald/linux/blockdev.c 2009-09-22 22:04:51.800059928 -0600 >@@ -1394,7 +1394,7 @@ > hal_device_property_set_bool (d, "volume.linux.is_device_mapper", is_device_mapper); > hal_device_property_set_bool ( > d, "volume.is_disc", >- strcmp (hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0); >+ strcmp (hal_device_property_get_string (parent, "storage.drive_type") ? : "", "cdrom") == 0); > > > is_physical_partition = TRUE; >@@ -1404,7 +1404,7 @@ > hal_device_property_set_bool (d, "volume.is_partition", is_physical_partition); > > hal_device_property_set_string (d, "info.category", "volume"); >- if (strcmp(hal_device_property_get_string (parent, "storage.drive_type"), "cdrom") == 0) { >+ if (strcmp(hal_device_property_get_string (parent, "storage.drive_type") ? : "", "cdrom") == 0) { > hal_device_add_capability (d, "volume.disc"); > } > hal_device_add_capability (d, "volume");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 286046
: 204992