Hi,

I am working on an OS derived for BSD 4.1 .  I am trying to backport a
thread-safe version of popen() from BSD 4.10 .

My plan is to create a file in libc_r/uhtread as uthread_popen.c which
will contain the thread safe version of the code .

The problem I am facing while building the libraries is that it gives
error of multiple declarations of popen since libc_r is  sharing the
popen with libc . If  I remove popen code from libc and put popen.o in
HIDDEN_SYSCALLS in Makefile of libc_r still I am getting errors while
building applications  not linking with libc_r .

Is there something I am missing ?? Kindly help  me  with the proper
way of doing it .

Dip
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to