OSDN Git Service

* cris/traps.c (TARGET_PIPE_BUF): New macro.
authorhp <hp>
Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)
committerhp <hp>
Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)
commitc7afc7f887a3f84a4a0cb0ae3941e736e6350eaa
tree97b5dd3fe373993a11984b4cb4ee7fe39ce143d7
parenta10388f68edf9a936a6d4fccd16bed7f42240205
* 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