static int sort_matching_paths(struct ls_options *options)
{
size_t nmemb = options->num_matching_paths;
- size_t size = sizeof(uint32_t);
+ size_t size = sizeof(*options->data_ptr);
int (*compar)(const void *, const void *);
int i;
PARA_ERROR(NO_ATTRIBUTES, "no attributes defined yet"), \
#define BLOB_ERRORS \
- PARA_ERROR(BLOB_SYNTAX, "fixme"), \
- PARA_ERROR(DUMMY_ROW, "fixme"), \
+ PARA_ERROR(BLOB_SYNTAX, "blob syntax error"), \
+ PARA_ERROR(DUMMY_ROW, "attempted to access blob dummy object"), \
#define PLAYLIST_ERRORS \
- PARA_ERROR(PLAYLIST_SYNTAX, "fixme"), \
- PARA_ERROR(NO_PLAYLIST, "fixme"), \
- PARA_ERROR(PLAYLIST_LOADED, "fixme"), \
- PARA_ERROR(PLAYLIST_EMPTY, "fixme"), \
+ PARA_ERROR(PLAYLIST_SYNTAX, "playlist syntax error"), \
+ PARA_ERROR(NO_PLAYLIST, "no valid playlist found"), \
+ PARA_ERROR(PLAYLIST_LOADED, ""), /* not really an error */ \
+ PARA_ERROR(PLAYLIST_EMPTY, "attempted to load empty playlist"), \
#define AFT_ERRORS \