test-absolute-path.con commit Add compat/fopen.c which returns NULL on attempt to open directory (cba2252)
   1#include "cache.h"
   2
   3int main(int argc, char **argv)
   4{
   5        while (argc > 1) {
   6                puts(make_absolute_path(argv[1]));
   7                argc--;
   8                argv++;
   9        }
  10        return 0;
  11}