diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2003-11-25 21:57:53 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2003-11-25 21:57:53 +0000 |
commit | 9309519700ca57eeb53c429eff122beb876a8c7b (patch) | |
tree | 0ea62c636920f99be93e98c3d35f79af0b7607a2 /file_io | |
parent | c1cc6d749330c59567e3a56b8d2795906aa528ae (diff) | |
download | libapr-9309519700ca57eeb53c429eff122beb876a8c7b.tar.gz |
Need to create the pollsets for both ends of the pipe
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r-- | file_io/netware/pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/file_io/netware/pipe.c b/file_io/netware/pipe.c index 8f3940836..497c0df8d 100644 --- a/file_io/netware/pipe.c +++ b/file_io/netware/pipe.c @@ -204,6 +204,8 @@ APR_DECLARE(apr_status_t) apr_file_pipe_create(apr_file_t **in, apr_file_t **out (*in)->ungetchar = -1; (*in)->thlock = (*out)->thlock = NULL; + (void) apr_pollset_create(&(*in)->pollset, 1, pool, 0); + (void) apr_pollset_create(&(*out)->pollset, 1, pool, 0); apr_pool_cleanup_register((*in)->pool, (void *)(*in), apr_unix_file_cleanup, apr_pool_cleanup_null); |