diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2003-11-25 21:57:53 +0000 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2003-11-25 21:57:53 +0000 |
commit | 0111c4c0738a80fe1af1ca3628151674ad0f71b5 (patch) | |
tree | 0ea62c636920f99be93e98c3d35f79af0b7607a2 /file_io/netware | |
parent | b4892abdf2c05cb2a27dee2d93987ff04ed71e99 (diff) | |
download | apr-0111c4c0738a80fe1af1ca3628151674ad0f71b5.tar.gz |
Need to create the pollsets for both ends of the pipe
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/netware')
-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); |