Date: Sun, 23 Dec 2001 04:59:49 -0500 From: Pete Fritchman <petef@databits.net> To: Sergey Babkin <babkin@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/sh redir.c Message-ID: <20011223045949.A70844@databits.net> In-Reply-To: <200112220240.fBM2ew131527@freefall.freebsd.org>; from babkin@FreeBSD.org on Fri, Dec 21, 2001 at 06:40:58PM -0800 References: <200112220240.fBM2ew131527@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
++ 21/12/01 18:40 -0800 - Sergey Babkin: | babkin 2001/12/21 18:40:58 PST | | Modified files: | bin/sh redir.c | Log: | Added ability to do ">/dev/stdout". The apsfilter people are anxious | to get it MFCed in time for release 4.5. | | MFC after: 2 weeks | | Revision Changes Path | 1.14 +2 -4 src/bin/sh/redir.c This change breaks autoconf (and probably more things). Autoconf is a big ugly shell script, and uses some redirection magic to send things to the 'configure' file (which it generates from configure.in): if test $# -eq 0; then exec 4> configure; chmod +x configure else exec 4>&1 fi I'm not a shell script guru by any means, but when I was debugging this problem I saw this redirect stuff in autoconf and thought of this change (because everything was working OK on a -current from dec 1st, and just broke today when I upgraded to today's -current). Before redir.c rev 1.14, configure gets created by autoconf and has the configure script in it. With this patch, configure gets created but the actual contents go to stdout. -pete -- Pete Fritchman [petef@(databits.net|freebsd.org|csh.rit.edu)] finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011223045949.A70844>