rbb 99/04/23 05:45:33
Modified: docs fileio.txt
include apr_file_io.h
apr/file_io/unix filedup.c
Log:
Removing patch for pushfile function. It isn't portable, and it isn't needed.
Oh well, a stupid mistake, but easily fixable.
Revision Changes Path
1.17 +0 -7 apache-apr/docs/fileio.txt
Index: fileio.txt
===================================================================
RCS file: /home/cvs/apache-apr/docs/fileio.txt,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- fileio.txt 1999/04/22 19:20:55 1.16
+++ fileio.txt 1999/04/23 12:45:10 1.17
@@ -189,13 +189,6 @@
NOTE: If directory name is NULL, the platform decides where it is best to
put
the pipe. To get it in the current dir, use "." here :)
-apr_status_t apr_pushfile(apr_file_t *, int)
- Push a platform specific file descriptor into the apr file type.
- Arguments:
- arg 1) the file descriptor to modify.
- arg 2) The file descriptor to push.
- return) APR_SUCCESS or APR_FAILURE
-
**************** IMPLEMENTATION DETAILS **************
struct apr_file_t {
1.18 +0 -1 apache-apr/include/apr_file_io.h
Index: apr_file_io.h
===================================================================
RCS file: /home/cvs/apache-apr/include/apr_file_io.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- apr_file_io.h 1999/04/22 19:20:56 1.17
+++ apr_file_io.h 1999/04/23 12:45:18 1.18
@@ -115,7 +115,6 @@
apr_ssize_t apr_writev(apr_file_t *, const apr_iovec_t *, apr_ssize_t);
apr_file_t *apr_dupfile(apr_file_t *);
-apr_status_t apr_pushfile(apr_file_t *, int);
apr_status_t apr_getfileinfo(char *, apr_file_t *);
apr_status_t apr_updatefileinfo(apr_file_t *);
apr_off_t apr_seek(apr_file_t *, apr_off_t, apr_seek_where_t);
1.5 +0 -8 apache-apr/apr/file_io/unix/filedup.c
Index: filedup.c
===================================================================
RCS file: /home/cvs/apache-apr/apr/file_io/unix/filedup.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- filedup.c 1999/04/22 19:20:58 1.4
+++ filedup.c 1999/04/23 12:45:26 1.5
@@ -76,11 +76,3 @@
old_file->ctime = new_file->ctime;
}
-apr_status_t apr_pushfile(apr_file_t *oldfile, int fd)
-{
- if (dup2(oldfile->filedes, fd) == -1)
- return APR_FAILURE;
- return APR_SUCCESS;
-}
-
-