diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-21 17:18:09 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-22 20:08:48 +0200 |
commit | 5a883e94f372da0cb2340df5af8cf9b8bc54fc74 (patch) | |
tree | 6db815c63000ba74f6f691e6e9c3f27ce48d8230 /dbaccess | |
parent | e468d9d2e1ef1eda7449787cbb907e83aec0162a (diff) |
osl: Windows pipe converted from OSL_ASSERT to assert/SAL_WARNs
Explanation for each conversion:
- osl_acceptPipe()
- don't worry about an invalid oslPipe sent as function parameter, we
check for the error returned by ConnectNamedPipe(), and without a
valid pipe we just need to return nullptr
- warn if INVALID_HANDLE_VALUE for the file handle, should be handled by
ConnectNamedPipe()
- createPipeImpl() allocates and initializes memory for the
oslPipeImpl structure, if it can't do this then something has been
done wrongly
- osl_receivePipe()
- invalid pipe needs to assert because ResetEvent needs valid
pPipe->m_ReadEvent
- osl_sendPipe()
- invalid pipe needs to assert because ResetEvent needs valid
pPipe->m_ReadEvent
- osl_writePipe()
- really just a thin wrapper around osl_sendPipe()
- osl_readPipe()
- really just a thin wrapper around osl_receivePipe()
Change-Id: I581f8aa996375a8691eafaa384d3f63f0c92b0a2
Reviewed-on: https://gerrit.libreoffice.org/40262
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'dbaccess')
0 files changed, 0 insertions, 0 deletions