Bug 1174 - Large Files do not work with scp in HP-UX
Summary: Large Files do not work with scp in HP-UX
Status: CLOSED DUPLICATE of bug 1173
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 4.3p2
Hardware: Other HP-UX
: P2 major
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 19:56 AEDT by Olaf Flebbe
Modified: 2006-10-07 11:44 AEST (History)
0 users

See Also:


Attachments
Patch to anable LLONG arguments to fmtint() (1.68 KB, patch)
2006-03-21 19:57 AEDT, Olaf Flebbe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Flebbe 2006-03-21 19:56:15 AEDT
One gets a protocol error if one tries to copy a large local file on HP-SUX to another system.

Cause: configure detects a broken vsnprintf, which forces the replacement from openbsd-compat/bsd-snprintf.c to be used. 

Unfortunatly the replacement snprintf does not handle  the "%lld" format correctly. the function fmtint() does not accept "long long" (aka LLONG) values.

So it is rather not an HP-UX specific problem, but manifest itselfs on HP-UX.

See patch.
Comment 1 Olaf Flebbe 2006-03-21 19:57:25 AEDT
Created attachment 1101 [details]
Patch to anable LLONG arguments to fmtint()
Comment 2 Darren Tucker 2006-03-21 20:00:16 AEDT
Thanks, but an almost identical patch has already been applied.

*** This bug has been marked as a duplicate of bug 1173 ***
Comment 3 Darren Tucker 2006-10-07 11:44:53 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.