Mailing List Archive

[Bug 551] ssh install fails on Tru64 V5.0A
http://bugzilla.mindrot.org/show_bug.cgi?id=551





------- Additional Comments From stock@stokkie.net 2004-03-17 06:21 -------
shouldn't this compiler warning be fixed first?? :

cc: Warning: session.c, line 635: In this statement, the referenced type of
the pointer value "&fromlen" is "unsigned long", which is not compatible with
"int". (ptrmismatch)
(struct sockaddr *) & from, &fromlen) < 0) {
------------------------------------------------^




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 551] ssh install fails on Tru64 V5.0A [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=551





------- Additional Comments From dtucker@zip.com.au 2004-03-23 17:56 -------
Fix that warning how? SuSv2 defines getpeername [1] as:
int getpeername(int socket, struct sockaddr *address, socklen_t *address_len);

and in session.c, fromlen is declared as socklen_t. Why does Tru64 think that
the 3rd argument should be an int?

[1] http://www.opengroup.org/onlinepubs/007908799/xns/getpeername.html



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