apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1534129 - /apr/apr/branches/1.5.x/include/arch/win32/apr_arch_file_io.h
Date Mon, 21 Oct 2013 12:32:57 GMT
Author: trawick
Date: Mon Oct 21 12:32:57 2013
New Revision: 1534129

URL: http://svn.apache.org/r1534129
Log:
Merge remnants of r1068870 not already in 1.5.x branch:

Axed C++ comments.

Submitted by: fuankg

Modified:
    apr/apr/branches/1.5.x/include/arch/win32/apr_arch_file_io.h

Modified: apr/apr/branches/1.5.x/include/arch/win32/apr_arch_file_io.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/include/arch/win32/apr_arch_file_io.h?rev=1534129&r1=1534128&r2=1534129&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/include/arch/win32/apr_arch_file_io.h (original)
+++ apr/apr/branches/1.5.x/include/arch/win32/apr_arch_file_io.h Mon Oct 21 12:32:57 2013
@@ -171,18 +171,19 @@ struct apr_file_t {
     char *fname;
     DWORD dwFileAttributes;
     int eof_hit;
-    BOOLEAN buffered;          // Use buffered I/O?
-    int ungetchar;             // Last char provided by an unget op. (-1 = no char)
+    BOOLEAN buffered;          /* Use buffered I/O? */
+    int ungetchar;             /* Last char provided by an unget op. (-1 = no char) */
     int append; 
 
     /* Stuff for buffered mode */
     char *buffer;
-    apr_size_t bufpos;         // Read/Write position in buffer
-    apr_size_t bufsize;        // The size of the buffer
-    apr_size_t dataRead;       // amount of valid data read into buffer
-    int direction;             // buffer being used for 0 = read, 1 = write
-    apr_off_t filePtr;         // position in file of handle
-    apr_thread_mutex_t *mutex; // mutex semaphore, must be owned to access the above fields
+    apr_size_t bufpos;         /* Read/Write position in buffer */
+    apr_size_t bufsize;        /* The size of the buffer */
+    apr_size_t dataRead;       /* amount of valid data read into buffer */
+    int direction;             /* buffer being used for 0 = read, 1 = write */
+    apr_off_t filePtr;         /* position in file of handle */
+    apr_thread_mutex_t *mutex; /* mutex semaphore, must be owned to access
+                                * the above fields                          */
 
 #if APR_FILES_AS_SOCKETS
     /* if there is a timeout set, then this pollset is used */



Mime
View raw message