Re: [configure.ac/uClinux] Adding code for fork/vfork?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday, April 16, 2011 05:26:37 Gilles wrote:
> On Fri, 15 Apr 2011 18:41:41 -0400, Mike Frysinger wrote:
> >so change it to #ifdef
> 
> The whole point of my question was: opkg's gz_open.c contains the
> following code:
> ============
> if (uClinux) {
> 	*pid = vfork();
> } else {
> 	*pid = fork();
> }
> ============
> 
> IOW, it appears that it was (re)written to run on Linux kernels that
> uses vfork() instead of fork() just fine.
> 
> So instead of modifying that type of _code_ manually, I'd like to
> modify the 2010 Blackfin _toolchain_ so, instead of having the linker
> stop dead with an error...

opkg is broken.  fix opkg with ifdefs.  it's really that simple.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux