diff options
Diffstat (limited to 'src/appl')
-rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 8 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/configure.in | 2 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/ftpd.c | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 971c87146e..7daf4888c6 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,11 @@ +Thu Jan 18 18:39:06 1996 Sam Hartman <hartmans@zygorthian-space-raiders.MIT.EDU> + + * configure.in: Check for crypt in -lcrypt + + * ftpd.c: Conditionalize sys_errlist + + * configure.in: Check to declare sys_errlist. + Thu Jan 18 14:55:42 1996 Sam Hartman <hartmans@tertius.mit.edu> * ftpd.c : Only return an unable to acquire credentials error if all possible services fail. diff --git a/src/appl/gssftp/ftpd/configure.in b/src/appl/gssftp/ftpd/configure.in index 9b4fd1f6ba..67e001f701 100644 --- a/src/appl/gssftp/ftpd/configure.in +++ b/src/appl/gssftp/ftpd/configure.in @@ -7,10 +7,12 @@ KRB5_SIGTYPE CHECK_UTMP CHECK_SIGPROCMASK CHECK_WAIT_TYPE +DECLARE_SYS_ERRLIST AC_FUNC_VFORK AC_CHECK_HEADERS(unistd.h stdlib.h string.h) AC_REPLACE_FUNCS(getdtablesize) AC_HAVE_FUNCS(getcwd getusershell seteuid setreuid setresuid) +AC_CHECK_LIB(crypt,crypt) dnl dnl dnl copied from appl/bsd/configure.in AC_MSG_CHECKING([setenv]) diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index a5d014a4ba..375fa19ea0 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -92,7 +92,9 @@ static char sccsid[] = "@(#)ftpd.c 5.40 (Berkeley) 7/2/91"; #endif #define strerror(error) (sys_errlist[error]) +#ifdef NEED_SYS_ERRLIST extern char *sys_errlist[]; +#endif extern char *mktemp (); |