* cris/traps.c (TARGET_PIPE_BUF): New macro.
authorHans-Peter Nilsson <hp@axis.com>
Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)
commiteccd787e25d7213738b9c5be9416398abd0caaae
tree5d5a42c60abf964856bfe13e95913a030c165826
parent539a52558fc24b1a2c4dd3d6dc389ca111858401
* cris/traps.c (TARGET_PIPE_BUF): New macro.
(cris_pipe_empty): Correct initialization of "remaining".  Only
adjust the "write" return value if more than TARGET_PIPE_BUF bytes
are written.
sim/ChangeLog
sim/cris/traps.c