zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@m17n.org>
To: zsh-workers@sunsite.auc.dk
Subject: _make suppress error on OpenBSD.
Date: 09 May 2000 21:08:14 +0900	[thread overview]
Message-ID: <hvoog6ggc41.fsf@serein.m17n.org> (raw)

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




             reply	other threads:[~2000-05-09 12:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-09 12:08 Tanaka Akira [this message]
2000-05-09 19:34 ` closing stdin (Re: _make suppress error on OpenBSD.) Tanaka Akira
2000-05-10  4:48   ` Bart Schaefer
2000-05-10  7:22     ` Tanaka Akira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hvoog6ggc41.fsf@serein.m17n.org \
    --to=akr@m17n.org \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).