This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Shell avoidance in make-3.79.1-3 [Correction]
- To: cygwin at cygwin dot com
- Subject: Re: Shell avoidance in make-3.79.1-3 [Correction]
- From: Randall R Schulz <rrschulz at cris dot com>
- Date: Tue, 26 Jun 2001 07:25:48 -0700
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/