From: | hartmans@mit.edu |
Subject: | CVS Commit |
Many parts of krb5 declare errno in source files using extern int
errno. This has not been needed in ANSI C for a long time,
and actively breaks modern versions of glibc.
So these declarations are removed and errno.h included where necessary.
To generate a diff of this commit:
cvs diff -r5.366 -r5.367 krb5/src/appl/bsd/ChangeLog
cvs diff -r5.97 -r5.98 krb5/src/appl/bsd/login.c
cvs diff -r1.51 -r1.52 krb5/src/kadmin/v4server/ChangeLog
cvs diff -r1.10 -r1.11 krb5/src/kadmin/v4server/acl_files.c
cvs diff -r1.15 -r1.16 krb5/src/kadmin/v4server/admin_server.c
cvs diff -r1.73 -r1.74 krb5/src/lib/kadm5/srv/ChangeLog
cvs diff -r1.6 -r1.7 krb5/src/lib/kadm5/srv/adb_policy.c
krb5/src/lib/kadm5/srv/server_dict.c
cvs diff -r1.151 -r1.152 krb5/src/lib/krb4/ChangeLog
cvs diff -r1.9 -r1.10 krb5/src/lib/krb4/dest_tkt.c
cvs diff -r1.21 -r1.22 krb5/src/lib/krb4/tf_util.c
cvs diff -r5.45 -r5.46 krb5/src/lib/krb5/posix/ChangeLog
cvs diff -r5.11 -r5.12 krb5/src/lib/krb5/posix/syslog.c
cvs diff -r1.91 -r1.92 krb5/src/lib/rpc/ChangeLog
cvs diff -r1.26 -r1.27 krb5/src/lib/rpc/clnt_udp.c
cvs diff -r1.8 -r1.9 krb5/src/lib/rpc/pmap_getmaps.c
cvs diff -r1.23 -r1.24 krb5/src/lib/rpc/pmap_rmt.c
cvs diff -r1.57 -r1.58 krb5/src/lib/rpc/svc_auth_gssapi.c
cvs diff -r1.4 -r1.5 krb5/src/lib/rpc/svc_run.c
cvs diff -r1.20 -r1.21 krb5/src/lib/rpc/svc_udp.c
cvs diff -r1.26 -r1.27 krb5/src/tests/dejagnu/ChangeLog
cvs diff -r1.3 -r1.4 krb5/src/tests/dejagnu/t_inetd.c
cvs diff -r1.37 -r1.38 krb5/src/util/db2/ChangeLog
cvs diff -r1.4 -r1.5 krb5/src/util/db2/clib/mkstemp.c
cvs diff -r1.9 -r1.10 krb5/src/util/db2/test/ChangeLog
cvs diff -r1.4 -r1.5 krb5/src/util/db2/test/Makefile
cvs diff -r1.3 -r1.4 krb5/src/util/db2/test/SEQ_TEST/t.c
cvs diff -r1.62 -r1.63 krb5/src/util/ss/ChangeLog
cvs diff -r1.4 -r1.5 krb5/src/util/ss/help.c
cvs diff -r1.3 -r1.4 krb5/src/util/ss/pager.c
errno. This has not been needed in ANSI C for a long time,
and actively breaks modern versions of glibc.
So these declarations are removed and errno.h included where necessary.
To generate a diff of this commit:
cvs diff -r5.366 -r5.367 krb5/src/appl/bsd/ChangeLog
cvs diff -r5.97 -r5.98 krb5/src/appl/bsd/login.c
cvs diff -r1.51 -r1.52 krb5/src/kadmin/v4server/ChangeLog
cvs diff -r1.10 -r1.11 krb5/src/kadmin/v4server/acl_files.c
cvs diff -r1.15 -r1.16 krb5/src/kadmin/v4server/admin_server.c
cvs diff -r1.73 -r1.74 krb5/src/lib/kadm5/srv/ChangeLog
cvs diff -r1.6 -r1.7 krb5/src/lib/kadm5/srv/adb_policy.c
krb5/src/lib/kadm5/srv/server_dict.c
cvs diff -r1.151 -r1.152 krb5/src/lib/krb4/ChangeLog
cvs diff -r1.9 -r1.10 krb5/src/lib/krb4/dest_tkt.c
cvs diff -r1.21 -r1.22 krb5/src/lib/krb4/tf_util.c
cvs diff -r5.45 -r5.46 krb5/src/lib/krb5/posix/ChangeLog
cvs diff -r5.11 -r5.12 krb5/src/lib/krb5/posix/syslog.c
cvs diff -r1.91 -r1.92 krb5/src/lib/rpc/ChangeLog
cvs diff -r1.26 -r1.27 krb5/src/lib/rpc/clnt_udp.c
cvs diff -r1.8 -r1.9 krb5/src/lib/rpc/pmap_getmaps.c
cvs diff -r1.23 -r1.24 krb5/src/lib/rpc/pmap_rmt.c
cvs diff -r1.57 -r1.58 krb5/src/lib/rpc/svc_auth_gssapi.c
cvs diff -r1.4 -r1.5 krb5/src/lib/rpc/svc_run.c
cvs diff -r1.20 -r1.21 krb5/src/lib/rpc/svc_udp.c
cvs diff -r1.26 -r1.27 krb5/src/tests/dejagnu/ChangeLog
cvs diff -r1.3 -r1.4 krb5/src/tests/dejagnu/t_inetd.c
cvs diff -r1.37 -r1.38 krb5/src/util/db2/ChangeLog
cvs diff -r1.4 -r1.5 krb5/src/util/db2/clib/mkstemp.c
cvs diff -r1.9 -r1.10 krb5/src/util/db2/test/ChangeLog
cvs diff -r1.4 -r1.5 krb5/src/util/db2/test/Makefile
cvs diff -r1.3 -r1.4 krb5/src/util/db2/test/SEQ_TEST/t.c
cvs diff -r1.62 -r1.63 krb5/src/util/ss/ChangeLog
cvs diff -r1.4 -r1.5 krb5/src/util/ss/help.c
cvs diff -r1.3 -r1.4 krb5/src/util/ss/pager.c