delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <5.1.0.14.2.20010626072501.02776e28@pop3.cris.com> |
X-Sender: | rrschulz AT pop3 DOT cris DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 5.1 |
Date: | Tue, 26 Jun 2001 07:25:48 -0700 |
To: | cygwin AT cygwin DOT com |
From: | Randall R Schulz <rrschulz AT cris DOT com> |
Subject: | Re: Shell avoidance in make-3.79.1-3 [Correction] |
Mime-Version: | 1.0 |
Earl, I'm guessing it's the semicolon. You found the code where the decision is made, what does it say? But... Following your lead, I looked at ps.c. What a mess. CORRECTION: ... I looked at >>> job.c <<<. Look at line 2414. Search for "sh_chars_sh" which is used to inialize "sh_chars" which is tested on line 2569. Why is the semicolon there in your makefile, anyway? Randy At 17:10 2001-06-25, you wrote: >Randall R Schulz wrote: > > That leaves only the question: Why are you asking when you know > > already? > >The makefile: > > all: ; ps > >tells me: > >bash-2.05$ make -f ../foo.mk >ps > PID PPID PGID WINPID TTY UID STIME COMMAND > 317 1 317 317 -1 500 14:59:36 /bin/bash > 461 317 461 549 -1 500 14:59:41 /usr/bin/make > 591 461 461 224 -1 500 14:59:41 /bin/sh > 662 591 461 585 -1 500 14:59:41 /usr/bin/ps > >that make is invoking /bin/sh in order to invoke /usr/bin/ps. > >Why isn't make invoking /usr/bin/ps directly? > >Earl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |