Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_make suppress error on OpenBSD.
- X-seq: zsh-workers 11280
 
- From: Tanaka Akira <akr@xxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: _make suppress error on OpenBSD.
 
- Date: 09 May 2000 21:08:14 +0900
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
Z:akr@coulee% Src/zsh -f
coulee% bindkey -e; autoload -U compinit; compinit -D
coulee% make awk: i/o error occurred while closing /dev/stdin
 input record number 366, file Makefile
 source line number 1
FORCE                   config                  install.bin             mostlyclean-recursive   test
META-FAQ                config.h                install.fns             prep                    uninstall
Makefile                config.status           install.html            realclean               uninstall.bin
all                     distclean               install.info            realclean-here          uninstall.fns
check                   distclean-here          install.man             realclean-recursive     uninstall.html
clean                   distclean-recursive     install.modules         stamp-h                 uninstall.info
clean-here              install                 mostlyclean             targz-doc               uninstall.man
clean-recursive         install-strip           mostlyclean-here        targz-src               uninstall.modules
This patch suppress this error.
Index: Completion/User/_make
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_make,v
retrieving revision 1.7
diff -u -r1.7 _make
--- Completion/User/_make	2000/04/27 12:44:21	1.7
+++ Completion/User/_make	2000/05/09 12:04:50
@@ -39,7 +39,7 @@
             $(awk '/^[a-zA-Z0-9][^\/\t=]+:/ {print $1}
  	      /^\.include  *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include  *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
  	        print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
- 	     FS=: $file)
+ 	     FS=: $file </dev/null)
            )
     fi
     _wanted targets expl 'make target' compadd "$tmp[@]" && return 0
-- 
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author