[Date Prev][Date Next]
(ITS#7615) NetBSD sem_open limited to 14 characters
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#7615) NetBSD sem_open limited to 14 characters
- From: Greg@Akua.com
- Date: Mon, 3 Jun 2013 07:28:40 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Greg Kerr
OS: NetBSD & FreeBSD
Submission from: (NULL) (220.127.116.11)
MDB is not usable on NetBSD because mdb.c has
sprintf(env->me_txns->mti_wmname, "/MDBw%s", hexbuf);
To create the semaphore name.
This results in a 21 character name which is beyond the 14 allowed per "man
"less than 14 characters in length not including the terminating null
I will make a local patch ... and maybe it's a NetBSD bug - or at least the
package maintainers ... I will report to him.
At any rate, the failure of mdb with result code 63 (name too long) was very
confusing ... better error reporting in this file would be nice.