URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14448>

                 Summary: a call to make_bufs_from_fds in kerberos4-client.c
misses root argument
                 Project: Concurrent Versions System
            Submitted by: None
            Submitted on: Tue 09/06/05 at 15:12
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 
           Fixed Release: None
   Fixed Feature Release: None

    _______________________________________________________

Details:

Hi,

When compiling cvs-1.12.12 in Scientific Linux CERN Release 3.0.5 (SL)
-kernel 2.4.21-32.0.1.EL.cern-, compilation fails with:
.....
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I../diff -I../zlib 
-I/usr/kerberos4/include -I/usr/heimdal/include -Ino/include  -g -O2 -MT 
zlib.o -MD -MP -MF ".deps/zlib.Tpo" -c -o zlib.o zlib.c; \
then mv -f ".deps/zlib.Tpo" ".deps/zlib.Po"; else rm -f ".deps/zlib.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I../diff -I../zlib 
-I/usr/kerberos4/include -I/usr/heimdal/include -Ino/include  -g -O2 -MT 
kerberos4-client.o -MD -MP -MF ".deps/kerberos4-client.Tpo" -c -o 
kerberos4-client.o kerberos4-client.c; \
then mv -f ".deps/kerberos4-client.Tpo" ".deps/kerberos4-client.Po"; else 
rm -f ".deps/kerberos4-client.Tpo"; exit 1; fi
kerberos4-client.c: In function `start_kerberos4_server':
kerberos4-client.c:86: warning: passing arg 6 of `krb_sendauth' discards 
qualifiers from pointer target type
kerberos4-client.c:98: warning: passing arg 4 of `make_bufs_from_fds' from 
incompatible pointer type
kerberos4-client.c:98: warning: passing arg 6 of `make_bufs_from_fds' 
makes pointer from integer without a cast
kerberos4-client.c:98: too few arguments to function `make_bufs_from_fds'
make[2]: *** [kerberos4-client.o] Error 1
make[2]: Leaving directory 
`/afs/cern.ch/user/m/manuel/sand/quattor_linux/cvs/cvs-1.12.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/afs/cern.ch/user/m/manuel/sand/quattor_linux/cvs/cvs-1.12.12'
make: *** [all] Error 2
[EMAIL PROTECTED] cvs-1.12.12]#

...The error is due to the fact that kerberos4-client.c misses root argument
when calling function make_bufs_from_fds:

% diff cvs-1.12.12/src/kerberos4-client.c \
cvs-1.12.12/src/kerberos4-client.c.orig
98c98
<     make_bufs_from_fds (s, s, 0, root, to_server_p, from_server_p, 1);
---
>     make_bufs_from_fds (s, s, 0, to_server_p, from_server_p, 1);
%
                  Cheers: Manuel.Guijarro.AT.cern.ch










    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14448>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to