Deleted Added
full compact
1c1
< /* $NetBSD: ftpcmd.y,v 1.80 2004-08-09 12:56:47 lukem Exp $ */
---
> /* $NetBSD: ftpcmd.y,v 1.84 2006/02/01 14:20:12 christos Exp $ */
4c4
< * Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
---
> * Copyright (c) 1997-2005 The NetBSD Foundation, Inc.
82c82
< __RCSID("$NetBSD: ftpcmd.y,v 1.80 2004-08-09 12:56:47 lukem Exp $");
---
> __RCSID("$NetBSD: ftpcmd.y,v 1.84 2006/02/01 14:20:12 christos Exp $");
120a121,128
> extern int epsvall;
> struct tab sitetab[];
>
> static int check_write(const char *, int);
> static void help(struct tab *, const char *);
> static void port_check(const char *, int);
> int yylex(void);
>
505a514,515
> if (CURCLASS_FLAGS_ISSET(hidesymlinks))
> argv[1] = "-LlgA";
513a524,525
> if (CURCLASS_FLAGS_ISSET(hidesymlinks))
> argv[1] = "-LlgA";
1296,1302d1307
< static int check_write(const char *, int);
< static void help(struct tab *, const char *);
< static void port_check(const char *, int);
< int yylex(void);
<
< extern int epsvall;
<
1336c1341
< if (isalnum(*p) || *p == '-' || *p == '+' ||
---
> if (isalnum((unsigned char)*p) || *p == '-' || *p == '+' ||
1374c1379
< if (debug)
---
> if (ftpd_debug)
1422c1427
< if (debug) {
---
> if (ftpd_debug) {
1574c1579
< yylval.s = xstrdup(cp);
---
> yylval.s = ftpd_strdup(cp);
1586c1591
< if (isdigit(cmdp[cpos])) {
---
> if (isdigit((unsigned char)cmdp[cpos])) {
1588c1593
< while (isdigit(cmdp[++cpos]))
---
> while (isdigit((unsigned char)cmdp[++cpos]))
1601c1606
< if (isdigit(cmdp[cpos])) {
---
> if (isdigit((unsigned char)cmdp[cpos])) {
1603c1608
< while (isdigit(cmdp[++cpos]))
---
> while (isdigit((unsigned char)cmdp[++cpos]))
1613c1618
< && !isalnum(cmdp[cpos + 3])) {
---
> && !isalnum((unsigned char)cmdp[cpos + 3])) {