[PATCH] Re: Issues with addon-storage

Danny Kukawka danny.kukawka at web.de
Thu Dec 21 04:47:27 PST 2006


On Sunday 17 December 2006 12:48, Thomas Petazzoni wrote:
> BTW, I made a quick look at the addon-storage.c code, and I don't
> understand why close(fd) is called when fd is certainly < 0. See
> attached patch (not compiled, not tested).

Yes, this closes are useless, and there is one more. See attached patch.

Danny

 addon-storage.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-close_in_addon_storage.diff
Type: text/x-diff
Size: 871 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20061221/ca30ee3e/hal-fix-close_in_addon_storage.bin


More information about the hal mailing list