/*
Date: Tue, 14 Apr 1998 19:34:48 +0200 (MET DST)
From: Nick Hibma <nick.hibma@jrc.it>

This message is sent to the author of ctags (included with
vim-4.6), the author of VIM and to the maintainer of the FreeBSD
port of vim-4.6.

-------------

In FreeBSD makefiles, /usr/share/mk/bsd.{kmod,prog}.mk, the tags file is
created using something like:

ctags -f /dev/stdout <filename.c>... | sed -e 'do/something/' >tags


This is not handled properly by the ctags that is delivered with
vim-4.6. That version only checks for "-" as the output file. Instead of
changing FreeBSD and the ctags included there I decided that it would
probably be easier to fix it in the new (and better!) ctags.

Therefore I propose the following patch file be included in the
port or otherwise that ctags be patched.


Bram, thanks for vim. There are days when I don't use vim, new years day 
for example.
*/


*** ctags/ctags.c.orig	Tue Oct  8 12:14:22 1996
--- ctags/ctags.c	Wed Apr 15 02:31:47 1998
***************
*** 2971,2977 ****
  	{
  		boolean toStdout = FALSE;
  
! 		if (Option.xref  ||  strcmp(Option.tagFile, "-") == 0)
  			toStdout = TRUE;
  
  		openTagFile(toStdout);
--- 2971,2979 ----
  	{
  		boolean toStdout = FALSE;
  
! 		if (Option.xref  
! 				||  strcmp(Option.tagFile, "-") == 0
! 				||  strcmp(Option.tagFile, "/dev/stdout") == 0 )
  			toStdout = TRUE;
  
  		openTagFile(toStdout);
