thlorenz/learnuv

solution for 03_fs_readsync is not working

keis opened this issue · 1 comments

keis commented

the solution to 03 in the repo is not working for me. it seems to be getting an extra newline in the output.

Adding this gets me past it but it's not very pretty

  char *e = strchr (buf, '\n');
  if (e) {
      *e = '\0';
  }
keis commented

Tried it again and now it works. Possibly PEBKAC so closing