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 2001/03/29 11:45:41 UTC
cvs commit: apr/file_io/unix open.c
bjh 01/03/29 01:45:40
Modified: include apr_file_io.h
file_io/unix open.c
Log:
Remove long since defunct function apr_file_error() (marked for death nearly a
year ago). It's only implemented on unix (as a stub) so causes linkage failure
on other platforms.
Revision Changes Path
1.98 +0 -8 apr/include/apr_file_io.h
Index: apr_file_io.h
===================================================================
RCS file: /home/cvs/apr/include/apr_file_io.h,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- apr_file_io.h 2001/03/17 15:58:10 1.97
+++ apr_file_io.h 2001/03/29 09:45:39 1.98
@@ -183,14 +183,6 @@
APR_DECLARE(apr_status_t) apr_file_eof(apr_file_t *fptr);
/**
- * Is there an error on the stream?
- * @param fptr The apr file we are testing.
- * @tip Returns -1 if the error indicator is set, APR_SUCCESS otherwise.
- * @deffunc apr_status_t apr_file_error(apr_file_t *fptr)
- */
-APR_DECLARE(apr_status_t) apr_file_error(apr_file_t *fptr);
-
-/**
* open standard error as an apr file pointer.
* @param thefile The apr file to use as stderr.
* @param cont The pool to allocate the file out of.
1.73 +0 -8 apr/file_io/unix/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/open.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- open.c 2001/02/16 04:15:37 1.72
+++ open.c 2001/03/29 09:45:40 1.73
@@ -239,14 +239,6 @@
return APR_SUCCESS;
}
-apr_status_t apr_file_error(apr_file_t *fptr)
-{
-/* This function should be removed ASAP. It is next on my list once
- * I am sure nobody is using it.
- */
- return APR_SUCCESS;
-}
-
apr_status_t apr_file_open_stderr(apr_file_t **thefile, apr_pool_t *cont)
{
int fd = STDERR_FILENO;