ASF Bugzilla – Attachment 20616 Details for
Bug 43065
Fix windows shared memory cleanup return code checking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shm.c.diff
shm.c.diff (text/plain), 485 bytes, created by
Joe Mudd
on 2007-08-08 13:57:38 UTC
(
hide
)
Description:
shm.c.diff
Filename:
MIME Type:
Creator:
Joe Mudd
Created:
2007-08-08 13:57:38 UTC
Size:
485 bytes
patch
obsolete
>--- shm-old.c Thu Aug 3 07:05:27 2006 >+++ shm.c Wed Aug 8 16:47:41 2007 >@@ -40,10 +40,10 @@ > apr_status_t rv = APR_SUCCESS; > apr_shm_t *m = shm; > >- if (UnmapViewOfFile(m->memblk)) { >+ if (!UnmapViewOfFile(m->memblk)) { > rv = apr_get_os_error(); > } >- if (CloseHandle(m->hMap)) { >+ if (!CloseHandle(m->hMap)) { > return (rv != APR_SUCCESS) ? rv : apr_get_os_error(); > } > /* ### Do we want to make a point of unlinking m->file here?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 43065
: 20616