From bob@luke.pmr.com Tue Apr  6 05:40:28 1999
Return-Path: <bob@luke.pmr.com>
Received: from luke.pmr.com (luke.pmr.com [207.170.114.132])
	by hub.freebsd.org (Postfix) with ESMTP id E022A14BEF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Apr 1999 05:40:26 -0700 (PDT)
	(envelope-from bob@luke.pmr.com)
Received: (from bob@localhost)
	by luke.pmr.com (8.9.2/8.9.2) id HAA40275;
	Tue, 6 Apr 1999 07:38:28 -0500 (CDT)
	(envelope-from bob)
Message-Id: <199904061238.HAA40275@luke.pmr.com>
Date: Tue, 6 Apr 1999 07:38:28 -0500 (CDT)
From: Bob Willcox <bob@luke.pmr.com>
Reply-To: bob@luke.pmr.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: ctags -x, no space between name & line number
X-Send-Pr-Version: 3.2

>Number:         10980
>Category:       bin
>Synopsis:       With ctags -x no space is left between name & line number w/long names
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mikeh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr  6 05:40:02 PDT 1999
>Closed-Date:    Mon Sep 17 21:17:31 PDT 2001
>Last-Modified:  Mon Sep 17 21:17:51 PDT 2001
>Originator:     Bob Willcox
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Power Micro Research
>Environment:
 
     FreeBSD luke.pmr.com 3.1-STABLE FreeBSD 3.1-STABLE #10: Sat Mar 27 15:54:43 CST 1999     bob@luke.pmr.com:/usr/src/sys/compile/LUKE.mp  i386
 
>Description:
 
     When using ctags with the -x flag long function names will result
     in no white space between the function name and line number.  This
     makes further parsing of the output difficult.
 
>How-To-Repeat:
 
     Run "ctags -x" against a file with function names longer than 15
     characters.
 
>Fix:
 	
Index: src/usr.bin/ctags/print.c
===================================================================
RCS file: /usr/cvs/FreeBSD/src/usr.bin/ctags/print.c,v
retrieving revision 1.3
diff -u -u -r1.3 print.c
--- print.c	1998/12/06 22:58:19	1.3
+++ print.c	1999/03/09 14:28:12
@@ -105,7 +105,7 @@
 		printf("%s %s %d\n",
 		    node->entry, node->file, (node->lno + 63) / 64);
 	else if (xflag)
-		printf("%-16s%4d %-16s %s\n",
+		printf("%-16s %4d %-16s %s\n",
 		    node->entry, node->lno, node->file, node->pat);
 	else
 		fprintf(outf, "%s\t%s\t%c^%s%c\n",


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Thu Apr 8 11:23:20 PDT 1999 
Responsible-Changed-Why:  
Misfiled PR. 
State-Changed-From-To: open->analyzed 
State-Changed-By: mikeh 
State-Changed-When: Thu Aug 16 09:19:10 PDT 2001 
State-Changed-Why:  
Committed, thanks! 


Responsible-Changed-From-To: freebsd-bugs->mikeh 
Responsible-Changed-By: mikeh 
Responsible-Changed-When: Thu Aug 16 09:19:10 PDT 2001 
Responsible-Changed-Why:  
MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=10980 
State-Changed-From-To: analyzed->closed 
State-Changed-By: mikeh 
State-Changed-When: Mon Sep 17 21:17:31 PDT 2001 
State-Changed-Why:  
Fix MFC'd. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=10980 
>Unformatted:
