Hi,
+-From: Joe Buckshin <jbu...@gm...> --
|_Date: Mon, 3 Oct 2005 11:15:48 -0400 ______
|
|It looks like the bitwise AND will truncate the negative value
|before returning:
|// ChannelSftp.java ~line 803 in jsch-0.1.22-rc12
|public int read() throws java.io.IOException{
| read(_data, 0, 1);
| return _data[0]&0xff;
| }
Oops, you are right. Thank you for your feedback.
It will be fixed in the next release.
Thanks,
--
Atsuhiko Yamanaka
JCraft,Inc.
4-1 OHMACHI 1-CHOME AOBA-KU,
SENDAI, MIYAGI 980-0804 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/
|