for these test executables.
* srv_rcache.c (krb5_get_server_rcache): Cast argument to
isgraph() to int.
* init_ctx.c: Cast arguments to isspace() to int. If unix is defined,
include ../krb5_libinit.h. There has to be a better was for windows.
* conv_princ.c (krb5_425_conv_principal): Cast argument to isupper().
to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13340
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-12 Ezra Peisach <epeisach@mit.edu>
+
+ * Makefile.in (t_walk_rtree, t_kerb): Do not link against kdb libraries
+ for these test executables.
+
+ * srv_rcache.c (krb5_get_server_rcache): Cast argument to
+ isgraph() to int.
+
+ * init_ctx.c: Cast arguments to isspace() to int. If unix is defined,
+ include ../krb5_libinit.h. There has to be a better was for windows.
+
+ * conv_princ.c (krb5_425_conv_principal): Cast argument to isupper().
+ to int.
+
2001-06-11 Ezra Peisach <epeisach@mit.edu>
* str_conv.c: If strptime() is present on system without a
T_DELTAT_OBJS= t_deltat.o deltat.o
-t_walk_rtree: $(T_WALK_RTREE_OBJS) $(KDB5_DEPLIBS) $(KRB5_BASE_DEPLIBS)
- $(CC_LINK) -o t_walk_rtree $(T_WALK_RTREE_OBJS) \
- $(KDB5_LIBS) $(KRB5_BASE_LIBS)
+t_walk_rtree: $(T_WALK_RTREE_OBJS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o t_walk_rtree $(T_WALK_RTREE_OBJS) $(KRB5_BASE_LIBS)
-t_kerb: $(T_KERB_OBJS) $(KDB5_DEPLIBS) $(KRB5_BASE_DEPLIBS)
- $(CC_LINK) -o t_kerb $(T_KERB_OBJS) \
- $(KDB5_LIBS) $(KRB5_BASE_LIBS)
+t_kerb: $(T_KERB_OBJS) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o t_kerb $(T_KERB_OBJS) $(KRB5_BASE_LIBS)
t_ser: $(T_SER_OBJS) $(KDB5_DEPLIBS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o t_ser $(T_SER_OBJS) \
return retval;
if (domain) {
for (cp = domain; *cp; cp++)
- if (isupper(*cp))
+ if (isupper((int) (*cp)))
*cp = tolower(*cp);
strncat(buf, ".", sizeof(buf) - 1 - strlen(buf));
strncat(buf, domain, sizeof(buf) - 1 - strlen(buf));
#include "k5-int.h"
#include <ctype.h>
#include "brand.c"
+/* There has to be a better way for windows... */
+#if defined(unix)
+#include "../krb5_libinit.h"
+#endif
/* The des-mdX entries are last for now, because it's easy to
configure KDCs to issue TGTs with des-mdX keys and then not accept
count = 0;
sp = retval;
while (sp) {
- for (ep = sp; *ep && (*ep != ',') && !isspace(*ep); ep++)
+ for (ep = sp; *ep && (*ep != ',') && !isspace((int) (*ep)); ep++)
;
if (*ep) {
*ep++ = '\0';
- while (isspace(*ep) || *ep == ',')
+ while (isspace((int) (*ep)) || *ep == ',')
*ep++ = '\0';
} else
ep = (char *) NULL;
for (i = 0; i < piece->length; i++) {
if (piece->data[i] == '\\')
len++;
- else if (!isgraph(piece->data[i]))
+ else if (!isgraph((int) piece->data[i]))
len += 3;
}
cachename[p++] = '\\';
continue;
}
- if (!isgraph(piece->data[i])) {
+ if (!isgraph((int) piece->data[i])) {
sprintf(tmp, "%03o", piece->data[i]);
cachename[p++] = '\\';
cachename[p++] = tmp[0];