diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-16 08:46:19 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-21 08:55:44 +0200 |
commit | fa987cbb813cfd729fe490f2f1258b7c8d7fb174 (patch) | |
tree | 84a9ed2e320dd3dfeef12f6671b9ddcff22a0591 /editeng/inc | |
parent | e0f990b96f901be00ba5b7dc6a671e6162c914cf (diff) |
osl: Unix 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 an
error gets flagged in Unix normally, so it might not be a
programming error
- definitely assert on an empty name, that's a definite programming
error and should never, ever occur
- createPipeImpl() allocates and initializes memory for the
oslPipeImpl structure, if it can't do this then something has been
done wrongly
- osl_receivePipe()
- invalid oslPipe sent as function parameter might not be a
programming error, give a warning but don't assert
- osl_sendPipe()
- invalid oslPipe sent as function parameter might not be a
programming error, give a warning but don't assert
- osl_writePipe()
- really just a thin wrapper around osl_sendPipe(), which detects
and handles invalid pipes
- osl_readPipe()
- really just a thin wrapper around osl_receivePipe(), which detects
and handles invalid pipes
Change-Id: I4923265b4c648852743c406b682d43ffb9ac6537
Reviewed-on: https://gerrit.libreoffice.org/40003
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'editeng/inc')
0 files changed, 0 insertions, 0 deletions