From: Paul Park Date: Fri, 12 May 1995 20:05:42 +0000 (+0000) Subject: Fix errors for Ultrix X-Git-Tag: krb5-1.0-beta6~1993 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba90a92696df7d0c1b4d106421fab15d864e742a;p=krb5.git Fix errors for Ultrix git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5804 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/v5client/ChangeLog b/src/kadmin/v5client/ChangeLog index cd80c44b2..4285e5970 100644 --- a/src/kadmin/v5client/ChangeLog +++ b/src/kadmin/v5client/ChangeLog @@ -1,4 +1,11 @@ +Fri May 12 16:04:01 EDT 1995 Paul Park (pjpark@mit.edu) + * configure.in - Check for regex.h. + * kadmin5.c - Use regex.h only if present. Correctly calculate + length of argument string to build when command is + on command line. + + Thu May 11 12:18:27 EDT 1995 Paul Park (pjpark@mit.edu) * kadmin5.c - Change "programname" to be the last component of argv[0]. Also correctly terminate generated diff --git a/src/kadmin/v5client/configure.in b/src/kadmin/v5client/configure.in index d870e2510..24acb693d 100644 --- a/src/kadmin/v5client/configure.in +++ b/src/kadmin/v5client/configure.in @@ -4,7 +4,7 @@ CONFIG_RULES AC_SET_BUILDTOP AC_PROG_INSTALL AC_PROG_YACC -AC_HAVE_HEADERS(pwd.h) +AC_HAVE_HEADERS(pwd.h regex.h) AC_HAVE_FUNCS(strptime re_comp regcomp getcwd) AC_CONST WITH_NETLIB diff --git a/src/kadmin/v5client/kadmin5.c b/src/kadmin/v5client/kadmin5.c index 9a51bbf99..92ed342f5 100644 --- a/src/kadmin/v5client/kadmin5.c +++ b/src/kadmin/v5client/kadmin5.c @@ -33,9 +33,9 @@ #if HAVE_PWD_H #include #endif /* HAVE_PWD_H */ -#if HAVE_RE_COMP || HAVE_REGCOMP +#if HAVE_REGEX_H #include -#endif /* HAVE_RE_COMP || HAVE_REGCOMP */ +#endif /* HAVE_REGEX_H */ /* * Global storage. @@ -1413,6 +1413,7 @@ kadmin_startup(argc, argv) for (i=optind; i