still sftp-server problems with Irix?

Pekka Savola pekkas at netcore.fi
Mon Oct 2 23:57:47 EST 2000


On Mon, 2 Oct 2000, Ben Lindstrom wrote:

> 
> Yes.. Under NeXT "realpath" is not implemented, but there is a weakly
> bound "realpath" function within it's C libraries.   I have a patch
> submitted to add in realpath for those missing it.
> 
> When you compile sftp-server.  Does it give you any warnings?

No, none for sftp-server.

Most prominent other warnings, on the other hand (if they help any/want
to fix them), are:
-----
serverloop.c: In function `sigchld_handler':
serverloop.c:98: warning: int format, pid_t arg (arg 2)
serverloop.c:98: warning: int format, pid_t arg (arg 3)
serverloop.c: In function `server_loop':
serverloop.c:602: warning: int format, pid_t arg (arg 2)
serverloop.c:602: warning: int format, pid_t arg (arg 3)
        gcc -g -O2 -Wall -I. -I. -I/usr/local/include
-I/usr/local/lib/openssl/include
-DETCDIR=\"/usr/alt/hostdep/etc/openssh/\" -DSSH_PROGRAM=\"/v/irix65_mips64/comm/openssh/2.2.0p2_SNAP/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/v/irix65_mips64/comm/openssh/2.2.0p2_SNAP/libexec/ssh-askpass\" -DHAVE_CONFIG_H
-c md5crypt.c
        gcc -g -O2 -Wall -I. -I. -I/usr/local/include
-I/usr/local/lib/openssl/include
-DETCDIR=\"/usr/alt/hostdep/etc/openssh/\" -DSSH_PROGRAM=\"/v/irix65_mips64/comm/openssh/2.2.0p2_SNAP/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/v/irix65_mips64/comm/openssh/2.2.0p2_SNAP/libexec/ssh-askpass\" -DHAVE_CONFIG_H
-c session.c
session.c: In function `do_exec_no_pty':
session.c:491: warning: passing arg 1 of `log_init' discards `const' from
pointer target type
session.c: In function `do_exec_pty':
session.c:604: warning: passing arg 1 of `log_init' discards `const' from
pointer target type
session.c: In function `session_dump':
session.c:1475: warning: int format, pid_t arg (arg 6)
session.c: In function `session_by_pid':
session.c:1516: warning: int format, pid_t arg (arg 2)
session.c:1522: warning: int format, pid_t arg (arg 2)
session.c: In function `session_exit_message':
session.c:1811: warning: int format, pid_t arg (arg 4)
session.c: In function `session_free':
session.c:1852: warning: int format, pid_t arg (arg 3)
session.c: In function `session_close_by_pid':
session.c:1878: warning: int format, pid_t arg (arg 2)
session.c: In function `session_close_by_channel':
session.c:1902: warning: int format, pid_t arg (arg 3)
session.c:1909: warning: int format, pid_t arg (arg 2)
session.c:1912: warning: int format, pid_t arg (arg 2)
-----
(and a few other ones; I think uid_t and gid_t vs. int "mismatches" were
these too)

-- 
Pekka Savola                 "Tell me of difficulties surmounted, 
Pekka.Savola at netcore.fi      not those you stumble over and fall"






More information about the openssh-unix-dev mailing list