mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Do not grep directories when recursing.
This commit is contained in:
parent
eb6a3b4b6b
commit
f2a21cccf8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99879
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= freegrep
|
||||
PORTVERSION= 0.16
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.vocito.com/downloads/software/grep/ \
|
||||
ftp://ftp.vocito.com/pub/vocito.com/software/grep/
|
||||
|
15
textproc/freegrep/files/patch-ab
Normal file
15
textproc/freegrep/files/patch-ab
Normal file
@ -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:
|
Loading…
Reference in New Issue
Block a user