summaryrefslogtreecommitdiffstats
path: root/src/appl/gssftp/ftp/ruserpass.c
diff options
context:
space:
mode:
authorDanilo Almeida <dalmeida@mit.edu>2001-07-24 01:07:16 +0000
committerDanilo Almeida <dalmeida@mit.edu>2001-07-24 01:07:16 +0000
commit226d2461a7ddf2384faad5c20284fa80c5430ea6 (patch)
tree810f544e8e03967ab4449a44cdf60030bb42fe7c /src/appl/gssftp/ftp/ruserpass.c
parent27dee9d9f20638ec3de1170262ac1ba583776b1d (diff)
downloadkrb5-226d2461a7ddf2384faad5c20284fa80c5430ea6.tar.gz
krb5-226d2461a7ddf2384faad5c20284fa80c5430ea6.tar.xz
krb5-226d2461a7ddf2384faad5c20284fa80c5430ea6.zip
* Makefile.in, cmds.c, ftp.c, ftp_var.h, getpass.c, glob.c,
main.c, ruserpass.c, secure.c, secure.h: Quick and dirty Win32 port. Changes include using sockets more portably; changing the method of getting username, home directory, and temporary filenames; adding password reading code for Win32; directory enumeration via FindNextFile() rather than readdir(); removing OUT labels (which appear to cause problems with MSVC++ 6.0). Since ANSI C, assume we have stdarg.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13628 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/gssftp/ftp/ruserpass.c')
-rw-r--r--src/appl/gssftp/ftp/ruserpass.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/appl/gssftp/ftp/ruserpass.c b/src/appl/gssftp/ftp/ruserpass.c
index fdf0f0b67..fb9c72368 100644
--- a/src/appl/gssftp/ftp/ruserpass.c
+++ b/src/appl/gssftp/ftp/ruserpass.c
@@ -49,11 +49,14 @@ static char sccsid[] = "@(#)ruserpass.c 5.3 (Berkeley) 3/1/91";
#include <errno.h>
#include "ftp_var.h"
+#ifdef _WIN32
+#include <win-mac.h>
+#endif
+
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#endif
-char *renvlook(), *getenv();
static int token PROTOTYPE((void));
static FILE *cfile;