bug in vfork semantics under IRIX 3.3.1

Paul Eggert eggert at twinsun.com
Mon Dec 3 13:42:37 AEST 1990


jmb at patton.wpd.sgi.com (Doctor Software) writes:

	Thus, the easiest way to implement vfork() is ...
		# define vfork	fork

Several programs (e.g. perl, rn) have autoconfiguration scripts that determine
whether the host has a vfork(), and use fork() otherwise.
This strategy fails under IRIX 3.3, which has a vfork() that doesn't work.
A programmer who knows about the IRIX vfork bug can work around this by hand,
but it's unrealistic to expect this of every perl and rn maintainer.
If SGI wants to make it easy to port software to their machines,
IRIX should have either a working vfork(), or no vfork() at all.


	The entire computer industry would grind to a halt if every company
	tried to make sure it only shipped "documented" entry points to it's
	libraries.

If IRIX's vfork() is indeed just an undocumented library entry point that has
nothing to do with BSD's vfork(), then it should be given a different name.



More information about the Comp.sys.sgi mailing list