summaryrefslogtreecommitdiff
path: root/textproc/freegrep/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/freegrep/files/patch-ab')
-rw-r--r--textproc/freegrep/files/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/freegrep/files/patch-ab b/textproc/freegrep/files/patch-ab
new file mode 100644
index 000000000000..73a0b3a93d0d
--- /dev/null
+++ b/textproc/freegrep/files/patch-ab
@@ -0,0 +1,15 @@
+--- 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: