DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23014>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23014 wrong flag passed to shmget in unix/shm.c (libapr bundled with httpd) Summary: wrong flag passed to shmget in unix/shm.c (libapr bundled with httpd) Product: Apache httpd-2.0 Version: 2.0.47 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Platform AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] testshm fails for filename based shared memory segments on Linux xxx.xxx.xxx.xxx 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686 i686 i386 GNU/Linux (RedHat 9) Reason is apr_file_open is called with O_CREAT and O_EXCL, then the key is generated, then shmget is called with O_CREAT and O_EXCL, and this fails because the file already exists. I believe the fix is to remove the O_EXCL from the shmget call. With this change the second half of the test program works and so does my module. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
