apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject svn commit: r930717 - in /apr/apr/trunk/file_io/os2: filestat.c open.c
Date Sun, 04 Apr 2010 17:02:06 GMT
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);
     



Mime
View raw message