Bug 13397 - vi(1) nvi mishandles tags files under certain conditions.
Summary: vi(1) nvi mishandles tags files under certain conditions.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 3.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-08-26 16:40 UTC by Frank.Mayhar
Modified: 2019-05-22 11:30 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (826 bytes, patch)
1999-08-26 16:40 UTC, Frank.Mayhar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank.Mayhar 1999-08-26 16:40:01 UTC
	The code in ex/ex_tag.c replaces the / it just removed before it
	stats the directory; it should wait until after it does the stat.

Fix: Here's a patch:
How-To-Repeat: 
	Honestly, I don't remember.  I think it has to do with multiple
	tags files, but it's a real bug.
Comment 1 Sheldon Hearn 1999-08-26 17:02:40 UTC
Have you raised this issue with the maintainer of nvi,
Keith Bostic <bostic@bostic.com> ?

Ciao,
Sheldon.
Comment 2 frank 2001-06-17 17:37:06 UTC
I did raise this issue with Keith Bostic, who said that he would
fix it "when he got around to it."  That was, oh, over a year ago?
The last time I talked to Keith was at BSDCon in October, 2000 and
it was still on his list of things to do.
Comment 3 mheffner 2001-06-17 19:23:20 UTC
On 17-Jun-2001 Frank Mayhar wrote:
| The following reply was made to PR bin/13397; it has been noted by GNATS.
| 
| From: Frank Mayhar <frank@exit.com>
| To: freebsd-gnats-submit@FreeBSD.org
| Cc:  
| Subject: Re: bin/13397: nvi mishandles tags files under certain conditions.
| Date: Sun, 17 Jun 2001 09:37:06 -0700
| 
|  I did raise this issue with Keith Bostic, who said that he would
|  fix it "when he got around to it."  That was, oh, over a year ago?
|  The last time I talked to Keith was at BSDCon in October, 2000 and
|  it was still on his list of things to do.


It appears to be fixed in 1.81.3, probably from:

-----------------------------------------------------
skimo  Thu Jun 29 12:41:52 PDT 2000

Modified Files:
        ex/ex_tag.c
Log Message:
ctags fix


The website says they're planning a release for the fall.


Mike

-- 
  Mike Heffner               <mheffner@vt.edu>
  Fredericksburg, VA       <mikeh@FreeBSD.org>
      http://filebox.vt.edu/users/mheffner
Comment 4 zy 2013-11-02 09:13:32 UTC
Fixed in CURRENT.

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:45 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
Comment 6 Alex Kozlov freebsd_committer freebsd_triage 2019-05-22 11:30:58 UTC
Fixed in all supported versions of FreeBSD (see r254225).