You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2010/04/04 19:02:06 UTC
svn commit: r930717 - in /apr/apr/trunk/file_io/os2: filestat.c open.c
Author: bjh
Date: Sun Apr 4 17:02:06 2010
New Revision: 930717
URL: http://svn.apache.org/viewvc?rev=930717&view=rev
Log:
OS/2: Remove comment warnings about apr_file_flush() not being mutex protected
as apr_file_flush() now does its own locking.
Modified:
apr/apr/trunk/file_io/os2/filestat.c
apr/apr/trunk/file_io/os2/open.c
Modified: apr/apr/trunk/file_io/os2/filestat.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/os2/filestat.c?rev=930717&r1=930716&r2=930717&view=diff
==============================================================================
--- apr/apr/trunk/file_io/os2/filestat.c (original)
+++ apr/apr/trunk/file_io/os2/filestat.c Sun Apr 4 17:02:06 2010
@@ -92,7 +92,6 @@ APR_DECLARE(apr_status_t) apr_file_info_
if (thefile->isopen) {
if (thefile->buffered) {
- /* XXX: flush here is not mutex protected */
apr_status_t rv = apr_file_flush(thefile);
if (rv != APR_SUCCESS) {
Modified: apr/apr/trunk/file_io/os2/open.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/os2/open.c?rev=930717&r1=930716&r2=930717&view=diff
==============================================================================
--- apr/apr/trunk/file_io/os2/open.c (original)
+++ apr/apr/trunk/file_io/os2/open.c Sun Apr 4 17:02:06 2010
@@ -126,7 +126,6 @@ APR_DECLARE(apr_status_t) apr_file_close
apr_status_t status;
if (file && file->isopen) {
- /* XXX: flush here is not mutex protected */
status = apr_file_flush(file);
rc = DosClose(file->filedes);