1
0
mirror of synced 2026-02-19 05:16:56 +00:00
Files
xen-tools.xen-tools/bin
Axel Beckert 919f06c8e1 No more use $#array in boolean context
This fixes a regression introduced in
503db1668b.

`@array = undef` doesn't empty an array but fills it with one item
which is undef. Hence `$#array` is zero and hence false.

Since the commit above, `@array = ()` was used instead of `@array =
undef`, hence `$#array` no more was false when the array seemed to be
empty (but wasn't). This caused an empty partition table in the
configuration file and hence prohibited the start of the DomU.

This commit fixes the according `!$#array` to just `!@array` and adds
the according changelog entry for both commits. (I initially thought
that such a tiny commit like the one above is not worth being
mentioned. I obviously was wrong.)
2015-10-24 00:34:26 +02:00
..
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00
2015-07-20 16:33:05 +02:00