b17962a441
o Use ansi function definitions o MAXPATHLEN already has the NUL at the end, so no need to add 1 (note that MAXNAMLEN doesn't, so the + 1 there is correct). o remove register.