[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
_
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
[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
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
--- "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
> 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
> > 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
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
> 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