diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-27 06:22:36 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-27 06:22:36 +0000 |
commit | ba3584cdd12775ea0a072332872dea710b853fdb (patch) | |
tree | f296c5dae5ed9ff9fc8923fc1143ee834563880c | |
parent | 51f659948ad9482c77ef08ba1023fab3d501db62 (diff) | |
download | ATCD-ba3584cdd12775ea0a072332872dea710b853fdb.tar.gz |
ChangeLogTag: Thu Jan 27 00:15:08 2000 Irfan Pyarali <irfan@cs.wustl.edu>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 7 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 7 | ||||
-rw-r--r-- | ace/ACE.cpp | 6 |
4 files changed, 25 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 6e3a59af699..4b182dc45de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Jan 27 00:15:08 2000 Irfan Pyarali <irfan@cs.wustl.edu> + + * ace/ACE.cpp (recv_n and send_n): There was a bug in these + methods introduced by the double while loops and the use of a + single break ;-) Changed break to a return. Thanks to the + HPUX_aCC auto compile build for leading me to this bug! + Wed Jan 26 21:49:16 2000 James Hu <jxh@entera.com> * ace/Message_Block.*: diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 6e3a59af699..4b182dc45de 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,10 @@ +Thu Jan 27 00:15:08 2000 Irfan Pyarali <irfan@cs.wustl.edu> + + * ace/ACE.cpp (recv_n and send_n): There was a bug in these + methods introduced by the double while loops and the use of a + single break ;-) Changed break to a return. Thanks to the + HPUX_aCC auto compile build for leading me to this bug! + Wed Jan 26 21:49:16 2000 James Hu <jxh@entera.com> * ace/Message_Block.*: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 6e3a59af699..4b182dc45de 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,10 @@ +Thu Jan 27 00:15:08 2000 Irfan Pyarali <irfan@cs.wustl.edu> + + * ace/ACE.cpp (recv_n and send_n): There was a bug in these + methods introduced by the double while loops and the use of a + single break ;-) Changed break to a return. Thanks to the + HPUX_aCC auto compile build for leading me to this bug! + Wed Jan 26 21:49:16 2000 James Hu <jxh@entera.com> * ace/Message_Block.*: diff --git a/ace/ACE.cpp b/ace/ACE.cpp index b471d35e452..8ccc7c1353b 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -1659,7 +1659,8 @@ ACE::recv_n (ACE_HANDLE handle, if (recv_size == n) recv_size = 0; else - break; + // Return total bytes transferred. + return nbytes; } } @@ -2291,7 +2292,8 @@ ACE::send_n (ACE_HANDLE handle, if (send_size == n) send_size = 0; else - break; + // Return total bytes transferred. + return nbytes; } } |