Subject: PR bin/10248; was Re: libexec/ftpd "has_ccache" undefined
To: None <msouth@msouth.ba.ca.us>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 06/01/2000 09:21:46
On 1 Jun 2000 msouth@msouth.ba.ca.us wrote:

> Looks like it's a change to klogin.c that was made yesterday, which added
> a reference to has_ccache.

Please try the following patch, and report success/failure...

Index: ftpd.c
===================================================================
RCS file: /cvsroot/basesrc/libexec/ftpd/ftpd.c,v
retrieving revision 1.90
diff -c -r1.90 ftpd.c
*** ftpd.c	2000/05/30 05:31:31	1.90
--- ftpd.c	2000/06/01 14:21:21
***************
*** 178,192 ****
  off_t	file_size;
  off_t	byte_count;
  static char ttyline[20];
- char	*tty = ttyline;		/* for klogin */
  static struct utmp utmp;	/* for utmp */
  
  static char *anondir = NULL;
  static char confdir[MAXPATHLEN];
  
  #if defined(KERBEROS) || defined(KERBEROS5)
  int	notickets = 1;
  char	*krbtkfile_env = NULL;
  #endif
  
  int epsvall = 0;
--- 178,193 ----
  off_t	file_size;
  off_t	byte_count;
  static char ttyline[20];
  static struct utmp utmp;	/* for utmp */
  
  static char *anondir = NULL;
  static char confdir[MAXPATHLEN];
  
  #if defined(KERBEROS) || defined(KERBEROS5)
+ int	has_ccache = 0;
  int	notickets = 1;
  char	*krbtkfile_env = NULL;
+ char	*tty = ttyline;
  #endif
  
  int epsvall = 0;