From: Sam Hartman Date: Mon, 5 Aug 1996 18:11:31 +0000 (+0000) Subject: s/struct fd_set/fd_set/g X-Git-Tag: krb5-1.0-beta7~181 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3364bbed3a1fb2dd152a75adb916ae9841fd6ba;p=krb5.git s/struct fd_set/fd_set/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8901 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog index f3426f786..5863265b8 100644 --- a/src/appl/gssftp/ftp/ChangeLog +++ b/src/appl/gssftp/ftp/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 30 19:45:45 1996 Samuel D Hartman (hartmans@vorlon) + + * ftp.c (empt resety): Use fd_set as a typedef not a struct. + Linux breaks. + Mon Jul 29 22:37:23 1996 Ezra Peisach * secure.c: Do not assume sizeof(long) = 4 for sending lengths OTW diff --git a/src/appl/gssftp/ftp/ftp.c b/src/appl/gssftp/ftp/ftp.c index 0a2f4d154..fb6a5632b 100644 --- a/src/appl/gssftp/ftp/ftp.c +++ b/src/appl/gssftp/ftp/ftp.c @@ -696,14 +696,14 @@ getreply(expecteof) } empty(mask, sec) - struct fd_set *mask; + fd_set *mask; int sec; { struct timeval t; t.tv_sec = (long) sec; t.tv_usec = 0; - return(select(32, mask, (struct fd_set *) 0, (struct fd_set *) 0, &t)); + return(select(32, mask, (fd_set *) 0, (fd_set *) 0, &t)); } jmp_buf sendabort; @@ -1642,7 +1642,7 @@ proxtrans(cmd, local, remote) int secndflag = 0, prox_type, nfnd; extern jmp_buf ptabort; char *cmd2; - struct fd_set mask; + fd_set mask; sigtype abortpt(); if (strcmp(cmd, "RETR")) @@ -1757,7 +1757,7 @@ abort: reset() { - struct fd_set mask; + fd_set mask; int nfnd = 1; FD_ZERO(&mask); @@ -2079,7 +2079,7 @@ FILE *din; { char buf[FTP_BUFSIZ]; int nfnd; - struct fd_set mask; + fd_set mask; /* * send IAC in urgent mode instead of DM because 4.3BSD places oob mark