Subject: Re: make: print real reason for exec failure
To: None <>
From: Simon Burge <>
List: tech-toolchain
Date: 05/29/2001 15:08:21
Christos Zoulas wrote:

> In article <>,
> Simon J. Gerraty <> wrote:
> >>Below are some of the changes I've recently made to bmake (autoconf'd
> >>version of netbsd make), that I think would be useful to add to our
> >>make.
> >
> >While I'm at it, below is another change that might be useful:
> >
> > [ using perror() to print a nice error message ]
> This change will lead to problems. You cannot use stdio on a child of
> vfork!

You could call strerror() and then write() to spit out the string to
work around this.

Simon Burge                            <>
NetBSD CDs, Support and Service: