--- src/grep.c.orig Sat Sep 13 10:48:39 1997 +++ src/grep.c Mon Feb 23 14:15:40 1998 @@ -924,6 +924,7 @@ { if (strcmp(argv[optind], "-")) { +#if 0 /* On some platforms `open' will fail for a directory, so we stat the file before we attempt to open it. */ struct stat st; @@ -933,6 +934,7 @@ ++optind; continue; } +#endif desc = open(argv[optind], O_RDONLY); } else