get rid of leftover _DIRENT_NAME_LEN=61

This commit is contained in:
Ben Gras
2011-09-01 16:27:28 +00:00
parent a7590083f1
commit 86b5fa5102
4 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ char **argv;
cp++;
else
cp = ofname;
if (strlen(cp) >= _DIRENT_NAME_LEN-3)
if (strlen(cp) >= NAME_MAX-3)
{
fprintf(stderr,"%s: filename too long to tack on .Z\n",cp);
continue;