+Mon Mar 18 12:12:44 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * secure.c, ftp.c, ftp_var.h: Define STDARG if HAVE_STDARG_H is
+ defined (in addition to the other tests)
+
+ * configure.in: Add AC_HEADER_STDARG
+
Fri Feb 16 15:50:51 1996 Mark Eichin <eichin@cygnus.com>
* ftp.c (do_auth): return status handling fixes from kbalk@hp.com.
DECLARE_SYS_ERRLIST
AC_FUNC_VFORK
AC_HAVE_FUNCS(getcwd getdtablesize)
+AC_HEADER_STDARG
AC_CHECK_HEADERS(sys/select.h)
AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK(cfsetispeed,AC_DEFINE(POSIX_TERMIOS)))
AC_CHECK_HEADERS(stdlib.h)
#include <fcntl.h>
#include <pwd.h>
#ifndef STDARG
-#if defined(__STDC__) && ! defined(VARARGS)
+#if (defined(__STDC__) && ! defined(VARARGS)) || defined(HAVE_STDARG_H)
#define STDARG
#endif
#endif
extern int errno;
extern char *mktemp();
-#if defined(STDARG) || (defined(__STDC__) && ! defined(VARARGS))
+#if (defined(STDARG) || (defined(__STDC__) && ! defined(VARARGS))) || defined(HAVE_STDARG_H)
extern command(char *, ...);
#endif
#endif
-#if defined(STDARG) || (defined(__STDC__) && ! defined(VARARGS))
+#if defined(STDARG) || (defined(__STDC__) && ! defined(VARARGS)) || defined(HAVE_STDARG_H)
extern secure_error(char *, ...);
#else
extern secure_error();
+Mon Mar 18 12:12:20 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Add AC_HEADER_STDARG
+
+ * ftpcmd.y, ftpd.c: Declard STDARG if HAVE_STDARG_H is
+ declared.
+
Fri Mar 15 14:16:41 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* ftpd.c (auth_data): Do not fail if last gss_service is not
CHECK_WAIT_TYPE
DECLARE_SYS_ERRLIST
AC_FUNC_VFORK
+AC_HEADER_STDARG
AC_CHECK_HEADERS(unistd.h stdlib.h string.h)
AC_REPLACE_FUNCS(getdtablesize)
AC_HAVE_FUNCS(getcwd getusershell seteuid setreuid setresuid)
unsigned int maxbuf, actualbuf;
unsigned char *ucbuf;
-#if defined(STDARG) || (defined(__STDC__) && ! defined(VARARGS))
+#if defined(STDARG) || (defined(__STDC__) && ! defined(VARARGS)) || defined(HAVE_STDARG_H)
extern reply(int, char *, ...);
extern lreply(int, char *, ...);
#endif
#include <stdlib.h>
#include <string.h>
#ifndef STDARG
-#if defined(__STDC__) && ! defined(VARARGS)
+#if (defined(__STDC__) && ! defined(VARARGS)) || defined(HAVE_STDARG_H)
#define STDARG
#endif
#endif