rbb 99/09/03 05:22:28
Modified: src/lib/apr/file_io/unix dir.c open.c
Log:
Fix some APR documentation.
Submitted by: Paul Reder
Revision Changes Path
1.2 +3 -3 apache-2.0/src/lib/apr/file_io/unix/dir.c
Index: dir.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/dir.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dir.c 1999/08/17 15:59:36 1.1
+++ dir.c 1999/09/03 12:22:27 1.2
@@ -132,7 +132,7 @@
}
/* ***APRDOC********************************************************
- * ap_status_t ap_readdir(ap_dir_t *)
+ * ap_status_t ap_rewinddir(ap_dir_t *)
* Rewind the directory to the first entry.
* arg 1) the directory descriptor to rewind.
*/
@@ -270,7 +270,7 @@
}
/* ***APRDOC********************************************************
- * ap_status_t ap_dir_entry_filename(ap_dir_t *, char **)
+ * ap_status_t ap_get_dir_filename(ap_dir_t *, char **)
* Get the file name of the current directory entry.
* arg 1) the currently open directory.
* arg 2) the file name of the directory entry.
@@ -297,7 +297,7 @@
}
/* ***APRDOC********************************************************
- * ap_status_t ap_get_os_dir(ap_dir_t *, ap_os_dir_t *)
+ * ap_status_t ap_put_os_dir(ap_dir_t *, ap_os_dir_t *)
* convert the dir from os specific type to apr type.
* arg 1) The os specific dir to convert
* arg 2) The apr dir we are converting to.
1.4 +1 -1 apache-2.0/src/lib/apr/file_io/unix/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/open.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- open.c 1999/09/01 19:01:52 1.3
+++ open.c 1999/09/03 12:22:27 1.4
@@ -95,7 +95,7 @@
* APR_CREATE create the file if not there
* APR_APPEND file ptr is set to end prior to all writes
* APR_TRUNCATE set length to zero if file exists
- * APR_BINARY not a text file
+ * APR_BINARY not a text file (This flag is ignored on
UNIX because it has no meaning)
* APR_BUFFERED buffer the data. Default is non-buffered
* APR_EXCL return error if APR_CREATE and file exists
* arg 4) Access permissions for file.