Both of those problems were fixed in late February. The qsort line should be qsort_s(base, nmemb, size, sort_r_arg_swap, &tmp); and access should be if (_access(filename, 0) != -1)