Re: namespace.h

2011-04-21 Thread Amit Kulkarni
Just commented out that shm_open/unlink portion, yes yes I know its bad. But spawn.h + posix_spawn.c is absolutely needed for lldb, and it will need heavy commentary from the header guys just like the recent fenv.h changes. Otherwise, the alternative is ugly and a patch set for lldb which is more o

Re: namespace.h

2011-04-21 Thread Matthew Dempsky
On Thu, Apr 21, 2011 at 12:49 AM, David Coppa wrote: > FreeBSD supports POSIX shared memory, while OpenBSD does not. > I think implementing shm_open, shm_unlink is not a trivial task, nor > modifying lldb code to work around the missing functions... We do have shmat(2) and shmdt(2). Can't you ju

Re: namespace.h

2011-04-21 Thread Matthew Dempsky
On Thu, Apr 21, 2011 at 11:14 AM, Matthew Dempsky wrote: > We do have shmat(2) and shmdt(2). Can't you just use > open(2)/unlink(2) instead of shm_open()/shm_unlink()? Bah, ignore that.

Re: namespace.h

2011-04-21 Thread David Coppa
On Wed, Apr 20, 2011 at 9:19 PM, Amit Kulkarni wrote: > Hi, > Then I think its better to work on lldb on FreeBSD because I can't > figure out the header issues right now. I will install qemu and try it out. > Sorry > for the bother. Whenever lldb is working on fbsd then soem experts can > come in

Re: namespace.h

2011-04-20 Thread Amit Kulkarni
0 Apr 2011, Joerg Sonnenberger wrote: > On Tue, Apr 19, 2011 at 11:15:49PM -0500, Amit Kulkarni wrote: > > where is a listing of all functions implemented in openbsd's libc? Is > > src/lib/libc/include/namespace.h consist of functions not implemented or > > its a reli

Re: namespace.h

2011-04-20 Thread Joerg Sonnenberger
On Tue, Apr 19, 2011 at 11:15:49PM -0500, Amit Kulkarni wrote: > where is a listing of all functions implemented in openbsd's libc? Is > src/lib/libc/include/namespace.h consist of functions not implemented or > its a relic? namespace.h is used for protecting the libc namespace.

Re: namespace.h

2011-04-20 Thread Amit Kulkarni
ng spawn.h in OpenBSD. And also stuck in shm_open, shm_unlink, all of which Posix states is optional. Is it then okay for me to update namespace.h to what I can glean from /usr/src? >> Is src/lib/libc/include/namespace.h consist of functions not implemented or >> its a relic? > > Nei

Re: namespace.h

2011-04-20 Thread Philip Guenther
On Tue, Apr 19, 2011 at 9:15 PM, Amit Kulkarni wrote: > where is a listing of all functions implemented in openbsd's libc? "nm /usr/lib/libc.a" ? What's the question that you're *really* trying to answer? > Is src/lib/libc/include/namespace.h consist of funct

namespace.h

2011-04-19 Thread Amit Kulkarni
hi, where is a listing of all functions implemented in openbsd's libc? Is src/lib/libc/include/namespace.h consist of functions not implemented or its a relic? i was looking for the equivalent of FreeBSD's file of the same name and location but in OpenBSD. thanks, amit