diff -cNr grep-2.5/src/grep.c grep-2.5-patched/src/grep.c *** grep-2.5/src/grep.c Wed Mar 13 09:49:52 2002 --- grep-2.5-patched/src/grep.c Mon Nov 11 15:15:11 2002 *************** *** 262,268 **** } if (directories == SKIP_DIRECTORIES && S_ISDIR (stats->stat.st_mode)) return 0; ! #ifndef DJGPP if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode) || S_ISSOCK(stats->stat.st_mode))) #else if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode))) --- 262,268 ---- } if (directories == SKIP_DIRECTORIES && S_ISDIR (stats->stat.st_mode)) return 0; ! #if !defined(DJGPP) && !defined(__BEOS__) if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode) || S_ISSOCK(stats->stat.st_mode))) #else if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || S_ISBLK(stats->stat.st_mode)))