[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Second call of sem_open() takes place
- From: "Awad, Majid" <majid awad intel com>
- To: "'phil-list redhat com'" <phil-list redhat com>
- Subject: RE: Second call of sem_open() takes place
- Date: Fri, 28 Feb 2003 17:10:01 -0800
Cool. I verified this fix in nptl 0.27.
Is there going to be a fix for the "more than one slash in semaphore name"?
such as: /tmp/mysemp?
In all of my test cases I created a named semaphore with /tmp/mysemp_<pid>.
In order for me to run the test cases on NPTL system I have to remove the
path name to something like /sem_open_<pid>.
Is this a bug? will there be a fix for it soon?
----------------------------------------------------------------------------
--------------------------------------
~ MAJID
**These views are not necessarily those of my employer.**
-----Original Message-----
From: Ulrich Drepper [mailto:drepper redhat com]
Sent: Tuesday, February 25, 2003 12:27 AM
To: phil-list redhat com
Subject: Re: Second call of sem_open() takes place
Awad, Majid wrote:
> Bug description: Second call of sem_open() takes place.
> When trying to call sem_open twice in a program with O_CREAT flag,
> then the second call of the semaphore takes place.
There were indeed a couple of problems with the existing code. I've
fixed it now. But note that your test code is invalid, too. You cannot
have a filename with more than one slash and/or a slash not at the
beginning. Thanks,
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
--
Phil-list mailing list
Phil-list redhat com
https://listman.redhat.com/mailman/listinfo/phil-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]