[269] in Kerberos-V5-bugs
Diffs for John Fletch to compile on a Sun
tytso@ATHENA.MIT.EDU (tytso@ATHENA.MIT.EDU)
Thu Dec 17 19:40:48 1992
We need to double check to make sure the problems reflected in his
message are fixed....
Date: 15 Dec 1992 12:39:52 U
From: "John Fletcher" <John_Fletcher@lccmail.ocf.llnl.gov>
Subject: Kerberos V
To: "Theodore Ts'o" <tytso@Athena.MIT.EDU>
Subject: Time:13:32
OFFICE MEMO Kerberos V Date:12/15/92
I just got my first clean "make world". Herewith are the mods (other than
those in src/config/site.def) that were necessary (original on the left, mod on
the right, for "diff"):
In src/admin/Imakefile (for reasons already discussed):
28c28,29
< SUBDIRS=create destroy edit stash aname convert
---
> SUBDIRS=create destroy edit stash aname
In src/kadmin/kpasswd/Imakefile (to avoid a missing entry point for kpasswd):
11a12
> #define Krb4KDCCompat
In src/kdc/policy.c (to avoid a preprocessor error):
61c61
< #ifdef 0
---
> #if 0
In src/lib/krb/copy_addrs.c (to avoid compiler warnings):
109c109
< tempaddr = realloc((char *)*outaddr,
---
> tempaddr = (krb5_address **) realloc((char *)*outaddr,
133c133,134
< tempaddr = realloc((char *)tempaddr, (norigelems + 1) *
sizeof(*tempaddr))
;
---
> tempaddr = (krb5_address **) realloc((char *)tempaddr,
> (norigelems + 1) * sizeof(*tempaddr));
In src/lib/krb/copy_princ.c (to avoid a compiler warning):
56c56
< tempprinc->data = malloc(nelems * sizeof(krb5_data));
---
> tempprinc->data = (krb5_data *) malloc(nelems * sizeof(krb5_data));
In src/lib/vfprintf.c (to avoid a compiler warning):
36c36
< iop->_ptr = iop->_base = localbuf;
---
> iop->_ptr = iop->_base = (unsigned char *) localbuf;
In src/lib/vsprintf.c (to avoid a compiler warning):
34c34
< f._ptr = str;
---
> f._ptr = (unsigned char *) str;
In src/tests/create/Imakefile (for reasons already discussed):
26a27
> SRCS = kdb5_mkdums.c
In src/tests/hammer/Imakefile (for reasons already discussed):
26a27
> SRCS = kdc5_hammer.c pp.c
In src/tests/hammer/kdc5_hammer.c (to avoid a compiler warning):
272c272
< at = index(princ_str, '@');
---
> at = (char *) index(princ_str, '@');
In src/tests/verify/Imakefile (for reasons already discussed):
26a27
> SRCS = kdb5_verify.c pkey.c
The next step is to see whether I can make it run.