summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2006-03-10 22:56:57 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2006-03-10 22:56:57 +0000
commit59a750f09cc86e660945ba614e6629290e3086fd (patch)
treed8bcf6f76f0ee9f9e291d070ef8d3d3494f37117
parent8814b95912a53405dd9602330e6a1fe3e04b4c30 (diff)
downloadapr-59a750f09cc86e660945ba614e6629290e3086fd.tar.gz
Identify a mutex unprotected flush on netware
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@384943 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/netware/filestat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file_io/netware/filestat.c b/file_io/netware/filestat.c
index 1fb31d9ee..010d3b3da 100644
--- a/file_io/netware/filestat.c
+++ b/file_io/netware/filestat.c
@@ -84,6 +84,7 @@ APR_DECLARE(apr_status_t) apr_file_info_get(apr_finfo_t *finfo,
struct stat info;
if (thefile->buffered) {
+ /* XXX: flush here is not mutex protected */
apr_status_t rv = apr_file_flush(thefile);
if (rv != APR_SUCCESS)
return rv;