[Libvirt-cim] [PATCH] (#2) Fix RASD provider unregistration

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Nov 14 20:17:18 UTC 2008


> Instead of building the temporary list forwards and then reversing it,
> why not just build it in reverse?
> 
> If you change this line:
> 
>   myregs="$myregs $1"
> 
> to
> 
>   myregs="$1 $myregs"
> 
> Won't that accomplish the goal without the dual lists, extra error
> path, etc?
> 

Yeah, that would be a lot simpler.  Not sure what I was thinking here. 
New version on the way.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list