2f71212769
Limit the "pathname" glob to one item, as that is what all users of it are expecting, except for LIST. Always glob, instead of when the first character is a ~. For example, if you had directories ~/x1, and ~/x2, then "cwd x[1]" would fail, but "cwd ~/x[1]" would work since it was globbed due to the ~ character. Also, "cwd ~/x[12]" used to arbitarily work as it used the first expansion (ie: x1) without an error. Make it return '550 ambiguous' instead of '550 not found' so that the user can see the difference. For LIST, just use the user supplied string as the popen does the glob. Problem noticed by: Ajay Mittal <amittal@iprg.nokia.com> |
||
---|---|---|
.. | ||
extern.h | ||
ftpcmd.y | ||
ftpd.8 | ||
ftpd.c | ||
logwtmp.c | ||
Makefile | ||
pathnames.h | ||
popen.c | ||
skey-stuff.c |