diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-03-19 05:32:04 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-03-19 05:32:04 +0000 |
commit | 678d4fe6fa3e28370422ccfd515dfda212ce00a6 (patch) | |
tree | f25f5a13e92a62a14075abc283c56f3582e301ba | |
parent | fac87ebce423ceda827c95ccb18bac40c5df5903 (diff) | |
download | libapr-678d4fe6fa3e28370422ccfd515dfda212ce00a6.tar.gz |
apr_os_pipe_put() (where is the _file in that symbol name?) registers
no cleanup - so enforce APR_FILE_NOCLEANUP to force apr_file_inherit_[un]set
to choke.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64434 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | file_io/unix/pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/unix/pipe.c b/file_io/unix/pipe.c index 97628682b..1ee25660c 100644 --- a/file_io/unix/pipe.c +++ b/file_io/unix/pipe.c @@ -185,7 +185,7 @@ APR_DECLARE(apr_status_t) apr_os_pipe_put(apr_file_t **file, (*file)->timeout = -1; (*file)->ungetchar = -1; /* no char avail */ (*file)->filedes = *dafile; - (*file)->flags = 0; + (*file)->flags = APR_FILE_NOCLEANUP; (*file)->buffered = 0; #if APR_HAS_THREADS (*file)->thlock = NULL; |