freebsd-ports/textproc/freegrep/files/patch-ab
2004-02-03 12:43:37 +00:00

15 lines
356 B
Text

--- util.c.orig Tue Feb 3 13:36:42 2004
+++ util.c Tue Feb 3 13:39:49 2004
@@ -72,10 +72,11 @@
while ((p = fts_read(fts)) != NULL) {
switch (p->fts_info) {
case FTS_DNR:
- break;
+ /* FALL THROUGH */
case FTS_ERR:
errx(1, "%s: %s", p->fts_path, strerror(p->fts_errno));
break;
+ case FTS_D:
case FTS_DP:
break;
default: