Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 24, 2018
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/fs.c
View
@@ -102,14 +102,14 @@ size_t enumerateDir(char ***output, char *path, char *pattern) {
int i = 0;
while (fno.fname[0] != 0 && fr == FR_OK) {
if (fno.fname[0] == '.') goto end;
if (fno.fname[0] == '.') goto next;
out = (char **)realloc(out, (i+1) * sizeof(char *));
out[i] = (char *)malloc(FF_LFN_BUF);
strcpy(out[i], pathb);
strcat(out[i], fno.fname);
pathb[pathlen+1] = 0;
i++;
end:
next:
f_findnext(&dp, &fno);
}

No commit comments for this range