Please test snapshots
Corinna Vinschen
vinschen at redhat.com
Fri Apr 26 01:46:53 EST 2002
On Thu, Apr 25, 2002 at 05:38:35PM +0200, Corinna Vinschen wrote:
> On Tue, Apr 23, 2002 at 11:45:21PM +1000, Damien Miller wrote:
> >
> > Tomorrows snapshot synchronises us with OpenBSD CVS HEAD and
> > includes fixes to several bugs. (Including the KrbIV/AFS/Tgt
> > issue).
> >
> > Portable -current also makes PAM work (or seem to) when sshd
> > is configured with UsePrivilegeSeparation=yes. This is still
> > experimental, please let openssh-unix-dev@ know how you goes.
>
> I'm getting a *lot* of warnings with the current version from CVS,
> e. g.:
>
> i686-pc-cygwin-gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I../src -DSSHDIR=\"/etc\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/sbin/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/sbin/sftp-server\" -D_PATH_SSH_PIDDIR=\"/var/run\" -DSSH_RAND_HELPER=\"/usr/sbin/ssh-rand-helper\" -DHAVE_CONFIG_H -c ../src/sftp-common.c
> In file included from /usr/include/fcntl.h:14,
> from ../src/includes.h:27,
> from ../src/sftp-common.c:26:
> /usr/include/sys/fcntl.h:43: warning: `O_NONBLOCK' redefined
> ../src/defines.h:56: warning: this is the location of the previous definition
> In file included from /usr/include/sys/fcntl.h:164,
> from /usr/include/fcntl.h:14,
> from ../src/includes.h:27,
> from ../src/sftp-common.c:26:
> /usr/include/sys/stat.h:100: warning: `S_IRWXU' redefined
> ../src/defines.h:82: warning: this is the location of the previous definition
> /usr/include/sys/stat.h:102: warning: `S_IWUSR' redefined
> ../src/defines.h:76: warning: this is the location of the previous definition
> [... and so on, and so on, ...]
>
>
> This is introduced by including `defines.h' from `include.h'.
> The problem is that `defines.h' already has been included previously
> from `config.h'.
I'm sorry, that isn't quite correctly explained. The problem
occurs *because* of the inclusion in `config.h'. If `defines.h'
is only included by `includes.h', the problem disappears.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com
More information about the openssh-unix-dev
mailing list