Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 05:00:59 -0500
From:      Pete Fritchman <petef@databits.net>
To:        ports@FreeBSD.org
Cc:        dwcjr@FreeBSD.org
Subject:   [Fwd:] Re: cvs commit: src/bin/sh redir.c
Message-ID:  <20011223050059.B70844@databits.net>

next in thread | raw e-mail | index | archive | help
FYI.

----- Forwarded message from Pete Fritchman <petef@databits.net> -----

| 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
| User-Agent: Mutt/1.2.5i
| 
| ++ 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

----- End forwarded message -----

--
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 freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011223050059.B70844>