diff options
Diffstat (limited to 'ftp/bsdftpd-ssl/files/patch-ftpd_ftpcmd.y')
-rw-r--r-- | ftp/bsdftpd-ssl/files/patch-ftpd_ftpcmd.y | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ftp/bsdftpd-ssl/files/patch-ftpd_ftpcmd.y b/ftp/bsdftpd-ssl/files/patch-ftpd_ftpcmd.y index 020eaada2dee..751cc0de6c81 100644 --- a/ftp/bsdftpd-ssl/files/patch-ftpd_ftpcmd.y +++ b/ftp/bsdftpd-ssl/files/patch-ftpd_ftpcmd.y @@ -1,5 +1,14 @@ --- ftpd/ftpcmd.y.orig 2004-12-19 18:44:42 UTC +++ ftpd/ftpcmd.y +@@ -1376,7 +1376,7 @@ static void toolong(int); + #ifdef INET6 + static void v4map_data_dest(void); + #endif +-static int yylex(void); ++int yylex(void); + + static struct tab * + lookup(struct tab *p, char *cmd) @@ -1394,7 +1394,7 @@ lookup(struct tab *p, char *cmd) * getline - a hacked up version of fgets to ignore TELNET escape codes. */ @@ -9,6 +18,15 @@ { int c; register char *cs; +@@ -1530,7 +1530,7 @@ check_syntax(struct tab *cmd, char *cbuf, size_t cpos) + return 1; + } + +-static int ++int + yylex(void) + { + static int cpos; @@ -1545,7 +1545,7 @@ yylex(void) case CMD: (void) signal(SIGALRM, toolong); |