X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=inline;f=aft.c;h=9e4fec288d63e84c8c05139f727516a1a5ca4f43;hb=b58faecc81c50be4723e973dcf9a65140d30e037;hp=bcceb4b0b7911707f88644c6f505189db2189934;hpb=1a4b98e797ab5ebb1ee1daa707aa0d520379ccc9;p=paraslash.git diff --git a/aft.c b/aft.c index bcceb4b0..9e4fec28 100644 --- a/aft.c +++ b/aft.c @@ -592,7 +592,7 @@ static int get_hash_of_row(const struct osl_row *row, HASH_TYPE **hash) * * \sa get_chunk_table_of_row(). */ -static int get_afhi_of_row(const struct osl_row *row, struct audio_format_info *afhi) +int get_afhi_of_row(const struct osl_row *row, struct audio_format_info *afhi) { struct osl_object obj; int ret = osl_get_object(audio_file_table, row, AFTCOL_AFHI, @@ -1017,7 +1017,7 @@ static int prepare_ls_row(struct osl_row *row, void *ls_opts) } if (options->num_patterns) { for (i = 0; i < options->num_patterns; i++) { - ret = fnmatch(options->patterns[i], path, FNM_PATHNAME); + ret = fnmatch(options->patterns[i], path, 0); if (!ret) break; if (ret == FNM_NOMATCH)