| Summary: |
Performance improvements in read_block() |
| Product: |
XCB
|
Reporter: |
Markus Fleschutz <markus.fleschutz> |
| Component: |
Library | Assignee: |
xcb mailing list dummy <xcb> |
| Status: |
RESOLVED
NOTABUG
|
QA Contact: |
xcb mailing list dummy <xcb> |
| Severity: |
enhancement
|
|
|
| Priority: |
medium
|
|
|
| Version: |
1.1 | |
|
| Hardware: |
All | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
in libxcb-1.5/src/xcb_in.c: read_block() should read: (replace the new ELSE by else) ... if(ret > 0) done += ret; ELSE if(ret < 0 && errno == EAGAIN) { ... } ELSE if(ret <= 0) return ret; ... This saves 2 if() on partial read.