diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-09-21 00:21:43 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-09-21 00:21:43 +0200 |
commit | 930f4021b1904b9c46c41c70b99d6e0620a1b59d (patch) | |
tree | 6519d98ac7db73f968760eef491c1f25ccc8ce0a /init.d/urandom.in | |
parent | bf49e59e3eb4fe12167812bc1b4531742eddc383 (diff) |
Add a new helper functions for _{flatten,get}_array
A new helper function (_array_helper) since both, the _flatten_array and
_get_array function share partially the same code.
We also reduce multiple whitespace to a single space, remove leading newlines
as well as skipping "empty" lines.
This makes the data returned by _{flatten,get}_array much nicer than before.
It also fixes bug 366677 where net-tools having trouble with the whitespace
mentioned above. iproute2 was not affected.
Reported-by: Andrew Maltsev <am@ejelta.com>
X-Gentoo-Bug: 366677
X-Gentoo-Bug-URL: https://bugs.gentoo.org/366677
Diffstat (limited to 'init.d/urandom.in')
0 files changed, 0 insertions, 0 deletions