Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!SUN.COM!cohesive!kla!serendip!pat From: cohesive!kla!serendip!pat@SUN.COM (Pat Lashley) Newsgroups: gnu.utils.bug Subject: stdin binding in make 3.44 Message-ID: <8904040047.AA21177@serendip.kla.com> Date: 4 Apr 89 00:47:37 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 Using GNU make 3.44 on a sun386i (OS 4.0.1) with the following makefile; the first line echos "TRUE", the second echos "FALSE". I assume that this is related to the parallel execution option; but an explicit `make -j1' has no affect on the output. -------------------------- Makefile ------------------------------------- test: if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi --------------------------- output -------------------------------------- pat@serendip.760: make -v GNU Make version 3.44, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi TRUE if /bin/test -t 0 ; then echo "TRUE" ; else echo "FALSE" ; fi FALSE ------------------------------------------------------------------------- Copyright (C) 1989 PM Lashley under the terms of the GNU General Public License PMLashley ...{sun | megatest | sts | zygot}!cohesive!kla!pat <<< I haven't lost my mind. It's backed up on tape somewhere... >>>