[Bug 257] sftp and 32 bit integar

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue May 28 02:57:52 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=257





------- Additional Comments From mouring at eviladmin.org  2002-05-28 02:57 -------
At one point it was a high/low 32bit integer structure, but after the code was 
looked at it was realized that 64bit integers would make it cleaner.

I looked at supporting platforms without 64bit using the old way, but I 
realized how ugly it would be.  It would have been a nightmare to audit and a 
nightmare to merge changes to.

Below is the event that removed 32bit integers and combined them into a 64bit.
If you can show me a clean way of implementing 32bit without destorying the 
reability of the code I'd be extremely happy.

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/sftp-server.c.diff?
r1=1.9&r2=1.10

Granted sftp client I believe never did have 32bit support.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list