[509] in Kerberos-V5-bugs
krb5-beta4 patches (small this time)
daemon@ATHENA.MIT.EDU (John T Kohl)
Fri Jun 17 00:59:46 1994
Date: Fri, 17 Jun 1994 00:25:23 -0400
From: John T Kohl <jtk@kolvir.blrc.ma.us>
To: krb5-bugs@MIT.EDU, eichin@MIT.EDU
-----BEGIN PGP SIGNED MESSAGE-----
Some patches to clean up compilation warnings, etc, as well as a change
to remove setenv() from isode/compat/. Nothing in the distribution uses
the form of setenv() in isode/compat/putenv.c.
Other problems I didn't patch:
(a) util/unifdef/Makefile has no RM defined
(b) make spits out things like "making in /dirname...". This is a misleading
rooted name---how about having it spit out ./dirname?
(c) util/ss: There are some "union wait *" and assumptions about the
type of a signal handler. These should be autoconfig'ed (see other GNU
packages which seem to know how to guess these)
See help.c, listen.c, list_rqs.c
(d) RCTMPDIR in osconfig.h should be changed /var/tmp if /usr/tmp
doesn't exist (autoconfig could check for this)
===================================================================
RCS file: util/et/RCS/com_err.c,v
retrieving revision 1.1
diff -c -r1.1 util/et/com_err.c
*** 1.1 1994/06/17 01:34:36
- --- util/et/com_err.c 1994/06/17 01:42:10
***************
*** 14,21 ****
- --- 14,23 ----
#define VARARGS
#endif
+
#include "error_table.h"
#include "internal.h"
+ #include "com_err.h"
#ifdef notdef
/*
===================================================================
RCS file: util/et/RCS/com_err.h,v
retrieving revision 1.1
diff -c -r1.1 util/et/com_err.h
*** 1.1 1994/06/17 01:36:43
- --- util/et/com_err.h 1994/06/17 01:42:10
***************
*** 12,18 ****
/* Imake needs this -- oh well */
#ifdef __STDC__
! #define STDARG_PROTOTYPES
#endif
#ifdef STDARG_PROTOTYPES
- --- 12,18 ----
/* Imake needs this -- oh well */
#ifdef __STDC__
! #define STDARG_PROTOTYPES 1
#endif
#ifdef STDARG_PROTOTYPES
===================================================================
RCS file: util/et/RCS/error_table.y,v
retrieving revision 1.2
diff -c -r1.2 util/et/error_table.y
*** 1.2 1994/06/10 19:53:47
- --- util/et/error_table.y 1994/06/17 01:42:10
***************
*** 1,7 ****
%{
#include <stdio.h>
char *str_concat(), *ds(), *quote();
! #ifndef __STDC__
#ifdef _AIX
#include <stdlib.h>
#else
- --- 1,9 ----
%{
#include <stdio.h>
char *str_concat(), *ds(), *quote();
! #ifdef __STDC__
! #include <stdlib.h>
! #else __STDC__
#ifdef _AIX
#include <stdlib.h>
#else
===================================================================
RCS file: appl/sample/sserver/sserver.c,v
retrieving revision 1.1
diff -c -r1.1 appl/sample/sserver/sserver.c
*** 1.1 1994/06/17 02:51:15
- --- appl/sample/sserver/sserver.c 1994/06/17 02:51:51
***************
*** 102,108 ****
sin.sin_family = AF_INET;
sin.sin_addr.s_addr = 0;
sin.sin_port = htons(atoi(argv[1]));
! if (bind(sock, &sin, sizeof(sin))) {
syslog(LOG_ERR, "bind: %m");
exit(3);
}
- --- 102,108 ----
sin.sin_family = AF_INET;
sin.sin_addr.s_addr = 0;
sin.sin_port = htons(atoi(argv[1]));
! if (bind(sock, (struct sockaddr *)&sin, sizeof(sin))) {
syslog(LOG_ERR, "bind: %m");
exit(3);
}
===================================================================
RCS file: lib/krb425/net_read.c,v
retrieving revision 1.1
diff -c -r1.1 lib/krb425/net_read.c
*** 1.1 1994/06/17 02:20:54
- --- lib/krb425/net_read.c 1994/06/17 02:21:12
***************
*** 38,44 ****
char *buf;
int len;
{
- - extern int read();
int cc, len2 = 0;
#ifdef EBUG
char *obuf = buf;
- --- 38,43 ----
===================================================================
RCS file: lib/krb425/net_write.c,v
retrieving revision 1.1
diff -c -r1.1 lib/krb425/net_write.c
*** 1.1 1994/06/17 02:21:34
- --- lib/krb425/net_write.c 1994/06/17 02:21:52
***************
*** 39,45 ****
int len;
{
int cc;
- - extern int write();
register int wrlen = len;
#ifdef EBUG
EPRINT "Write data: ``");
- --- 39,44 ----
===================================================================
RCS file: isode/compat/Makefile.in,v
retrieving revision 1.1
diff -c -r1.1 isode/compat/Makefile.in
*** 1.1 1994/06/17 01:25:52
- --- isode/compat/Makefile.in 1994/06/17 01:27:50
***************
*** 49,55 ****
asprintf.c explode.c implode.c isofiles.c isohost.c sel2str.c \
serror.c sprintb.c str2elem.c str2sel.c str2vec.c \
tailor.c \
! baduser.c chkpassword.c getpassword.c putenv.c \
chrcnv.c cmd_srch.c lexequ.c lexnequ.c log_tai.c nochrcnv.c \
rcmd_srch.c smalloc.c sstr2arg.c strdup.c \
isoservent.c servbyname.c servbyport.c servbysel.c \
- --- 49,55 ----
asprintf.c explode.c implode.c isofiles.c isohost.c sel2str.c \
serror.c sprintb.c str2elem.c str2sel.c str2vec.c \
tailor.c \
! baduser.c chkpassword.c getpassword.c \
chrcnv.c cmd_srch.c lexequ.c lexnequ.c log_tai.c nochrcnv.c \
rcmd_srch.c smalloc.c sstr2arg.c strdup.c \
isoservent.c servbyname.c servbyport.c servbysel.c \
***************
*** 63,69 ****
asprintf.o explode.o implode.o isofiles.o isohost.o sel2str.o \
serror.o sprintb.o str2elem.o str2sel.o str2vec.o \
tailor.o \
! baduser.o chkpassword.o getpassword.o putenv.o \
chrcnv.o cmd_srch.o lexequ.o lexnequ.o log_tai.o nochrcnv.o \
rcmd_srch.o smalloc.o sstr2arg.o $(LIBOBJS) \
isoservent.o servbyname.o servbyport.o servbysel.o \
- --- 63,69 ----
asprintf.o explode.o implode.o isofiles.o isohost.o sel2str.o \
serror.o sprintb.o str2elem.o str2sel.o str2vec.o \
tailor.o \
! baduser.o chkpassword.o getpassword.o \
chrcnv.o cmd_srch.o lexequ.o lexnequ.o log_tai.o nochrcnv.o \
rcmd_srch.o smalloc.o sstr2arg.o $(LIBOBJS) \
isoservent.o servbyname.o servbyport.o servbysel.o \
-----BEGIN PGP SIGNATURE-----
Version: 2.6
iQCVAgUBLgEln1TdX6I8ZiRnAQFGtwQAopvbJXMfYzQq6bCK/Jv7t/9UviIm9M74
EgAmEwRI4IA1Bn5VhhBIvZF9ll4bJWfiG2IbKTcQDDo/AxTEzj1XW1QjpdgEB62t
rKaYSG89VmkUwoj2Iqln7hO4S1iSJLeU0lxKEFTZWWRr+54uiasFDYdersnPI7y8
C/ihLqYzKwo=
=fOEE
-----END PGP SIGNATURE-----