#28135 [NEW]: ext/sysvsem functions return/use resources not integer ids
| From: | andrey@php.net | Date: | Sat, 24 Apr 2004 13:57:59 +0000 |
| Subject: | #28135 [NEW]: ext/sysvsem functions return/use resources not integer ids | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969360232@lists.php.net to get a copy of this message | ||
From: andrey@php.net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: ext/sysvsem functions return/use resources not integer ids
Description:
------------
According to the documentation all ext/sysvsem functions return or use
integer ids as identifiers of semaphores. That's not true.
The functions are :
# sem_acquire - uses resource
# sem_get - returns resource
# sem_release - uses resource
# sem_remove - uses resource
The protos in ext/sysvsem/sysvsem.c are correct.
Andrey
--
Edit bug report at http://bugs.php.net/?id=28135&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28135&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28135&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28135&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28135&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28135&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28135&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28135&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28135&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28135&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28135&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28135&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28135&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28135&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28135&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28135&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28135&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28135&r=float