Merge lp:~stefanlsd/btnx/devel into lp:btnx

Proposed by Stefan Lesicnik
Status: Needs review
Proposed branch: lp:~stefanlsd/btnx/devel
Merge into: lp:btnx
To merge this branch: bzr merge lp:~stefanlsd/btnx/devel
Reviewer Review Type Date Requested Status
VCS imports Pending
Review via email: mp+3529@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Stefan Lesicnik (stefanlsd) wrote :

Perhaps better way to catch write().

Unmerged revisions

99. By Stefan Lesicnik

Perhaps more correct way to catch return value of -1 from write().

98. By Stefan Lesicnik

Capture the return value of the write(). This fixes a FTBFS on Jaunty which uses -Werror.
The alternative is to do some proper checking if the buffer is sucessfully written. In the case of the information coming from a struct, the likelyhood of not getting all the data is highly unlikely, hence just captured and ignored.

Subscribers

People subscribed via source and target branches

to all changes: