Jake Hamby d9c81f0dac Librpc workaround for ONCRPC protocol error in SMS.
This patch causes librpc to abort() when a read() fails on the ONCRPC
device. We're seeing this at bootup when the RIL initializes the WMS
(SMS) service, and we can't get back in sync with the protocol. By
calling abort(), rild will restart and the RIL will work correctly
on the second attempt.

We can remove this after we fix the underlying protocol error, but perhaps
we should keep it in since the original version of the code will
continue on a read() error and corrupt memory, thinking that it
received a new message when the input buffer contains only the
previous message received.

Change-Id: I0deded00f5c38a71aa56ce1859a8fe37d234e11b
2010-07-08 13:47:46 -07:00
2010-07-01 21:19:31 -07:00
Description
No description provided
1.3 MiB
Languages
C++ 90.2%
Objective-C 4.6%
C 2.8%
Makefile 2.4%