Bug 176361

Summary: [PATCH] Add recursive option to ctags(1)
Product: Base System Reporter: Fernando ApesteguĂ­a <fernape>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me    
Priority: Normal    
Version: 9.0-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Fernando ApesteguĂ­a freebsd_committer freebsd_triage 2013-02-22 20:20:00 UTC
The ctags version shipped with FreeBSD lacks the -R (recursive) option that is extremely useful.

The patch I propose implements this feature by simply using ftw(3). It is a non intrusive patch as it changes nothing regarding the text analysis itself. I tested it with several pieces of C source code and filesystem links and seems to work fine.

The patch also updates the manual page.

Fix: Apply the attached patch.

It applies cleanly to FreeBSD 9.0-RELEASE sources.

Patch attached with submission follows:
How-To-Repeat: Just try ctags -R :)
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:01 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped