Michael Meeks <michael.meeks@novell.com>
stole this code from the slab hackers & tortured it.
