Re: unlink() and directories.

2002-11-02 Thread Niels Möller
[EMAIL PROTECTED] (Thomas Bushnell, BSG) writes: > "Alfred M. Szmidt" <[EMAIL PROTECTED]> writes: > > > Is it intentional that unlink() on GNU/Hurd does not handle > > directories? > > Yes. How will this work for nodes that are both directories and files? /Niels _

Litoo's newsletter

2002-11-02 Thread Saint-Remi Group, International Bookseller Publisher
Title: Litoo's letter Litoo's letter (November, 2002) Quick search (author, title or commentary) Letter FREE Email: Register Unregister (Si vous souhaitez recevoir notre lettre

Re: unlink() and directories.

2002-11-02 Thread Thomas Bushnell, BSG
[EMAIL PROTECTED] (Niels Möller) writes: > [EMAIL PROTECTED] (Thomas Bushnell, BSG) writes: > > > "Alfred M. Szmidt" <[EMAIL PROTECTED]> writes: > > > > > Is it intentional that unlink() on GNU/Hurd does not handle > > > directories? > > > > Yes. > > How will this work for nodes that are both

Litoo's newsletter

2002-11-02 Thread Saint-Remi Group, International Bookseller Publisher
Title: Litoo's letter Litoo's letter (November, 2002) Quick search (author, title or commentary) Letter FREE Email: Register Unregister (Si vous souhaitez recevoir notre lettre

Re: Are hodes nodes?

2002-11-02 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > Looking at [hurd]/hostmux/hostmux.h I noticed a strange comment. > > /* The state associated with a host multiplexer translator. */ > > struct hostmux > > { > > /* The host hodes in this

Re: libpthreads: pthread_key_delete is not defined...

2002-11-02 Thread Neal H. Walfield
> It seems that pthread_key_delete is not defined, this is probobly due > to a small typo in > libpthread/sysdeps/{hurd,generic}/pt-key-delete.c. I have checked this in, thanks. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/li

Re: POSIX semaphore for GNU/Hurd

2002-11-02 Thread Neal H. Walfield
> > int > > sem_init (sem_t *sem, int pshared, unsigned int value) > > { > > if (pshared) > > return -1; > > If you wanted to be consistant with LinuxThreads this should be > if (pshared) > { > errno = ENOSYS; > return -1; > } > However, I think it would be better to actually

Re: POSIX semaphore for GNU/Hurd

2002-11-02 Thread Neal H. Walfield
It seems I overlooked this attachment in my last email. Sorry. > #ifndef _SEMAPHORE_H > #define _SEMAPHORE_H 1 > > #include POSIX says you must include and . > > __BEGIN_DECLS > > struct __sem_t > { > unsigned int count; > pthread_mutex_t count_lock; > pthread_cond_t lock; > }; Th

Re: POSIX semaphore for GNU/Hurd

2002-11-02 Thread Neal H. Walfield
> int > sem_init (sem_t *sem, int pshared, unsigned int value) > { > if (pshared) > return -1; Set errno to ENOTSUP. > sem = malloc (sizeof (*sem)); > if (sem == NULL) > return -1; This is not going to work at all. SEM is a local variable; If you are going to continue with this m