This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Configure patch for vfork et al on VMS


On Thu, Dec 06, 2001 at 12:39:41AM -0800, Douglas B. Rupp wrote:
> I'd appreciate some feedback on this patch.

vfork is not used by gcc, except in collect2, and collect2 shouldn't
be using it.  (It does things in the child process that aren't safe
when vfork is used.)  I'll clean this up.

The libiberty change seems sane to me; the uses of vfork in there are
correct.

I'm very surprised that pexecute, which unconditionally uses plain
fork, works on VMS at all.  Is the CRTL redefining it as vfork behind
our back?  If so, we need to stop using the "generic Unix" code for
VMS.

(I once saw someone insist loudly that VMS had a true fork primitive,
but I have never seen any evidence for that.)

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]