Subject: | Quad Support |
The lib/Net/DBus/Binding/Iterator.pm module has a test for quads that
dies if quad support is unavailable. I was wondering why die instead of
warn?
I would like to use the iterator methods and because DBus returns int64
values (on my 32-bit Intel P4 laptop I might add) my program dies when
it hits one. It seems to me to be better to warn when encountering int64
values so applications (like mine) don't just die when iterating. I've
attached a simple script example that converts block device data (from
HAL) to XML to demonstrate what I mean. This script fails completely on
a stock Net-DBus module, but changing the 4 die functions to warn
functions allows it to finish, albeit with some corrupt values that
don't convert correctly.
Tony
Subject: | list-block-devices |
Message body not shown because it is not plain text.