In file unix.c, line #325, it should read: `while (*file != '/' && i < sizeof(user)-1)` as you are going to add an extra \0 in the end.