diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2002-01-14 22:33:21 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2002-01-14 22:33:21 +0000 |
commit | cba0e7a71cc760df718388815f76935bdb92c78e (patch) | |
tree | f7ff86adddd5abb332ecef0c6ebe53503eb99f60 /file_io | |
parent | 01bce3ebd918554e58a6c38f32bc86a13099f9eb (diff) | |
download | libapr-cba0e7a71cc760df718388815f76935bdb92c78e.tar.gz |
dup2() appears to be broken. Sticking with dup() until we can fix it.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62789 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r-- | file_io/unix/filedup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/file_io/unix/filedup.c b/file_io/unix/filedup.c index f61245176..7cda84fd3 100644 --- a/file_io/unix/filedup.c +++ b/file_io/unix/filedup.c @@ -141,6 +141,10 @@ APR_DECLARE(apr_status_t) apr_file_dup(apr_file_t **new_file, APR_DECLARE(apr_status_t) apr_file_dup2(apr_file_t **new_file, apr_file_t *old_file, apr_pool_t *p) { +#ifdef NETWARE + return _file_dup(new_file, old_file, p, 1); +#else return _file_dup(new_file, old_file, p, 2); +#endif } |