Actions
Bug #89
closeduu_list_find() leaves error unset when successfully returning NULL
Start date:
2010-08-23
Due date:
% Done:
90%
Estimated time:
Difficulty:
Tags:
Gerrit CR:
Description
bustos 2004-12-13
See comments.
xxxxx@xxxxx.com 2004-12-14 00:25:00 GMT
[dp: bug is marked bite-size but description was opaque. relocated comments]
bustos 2004-12-13
If uu_list_find() is called on a list which doesn't have a comparison
function, then it sets the uu_error() to UU_ERROR_NOT_SUPPORTED and
returns NULL. NULL is also the return value for when uu_list_find()
completes successfully, but didn't find anything. If the uu_error()
happened to be UU_ERROR_NOT_SUPPORTED before uu_list_find() was
called, then there's no way for the caller to know whether the function
completed successfully.
xxxxx@xxxxx.com 2004-12-14 00:25:00 GMT
Files
Actions