HomeFreeBSD

Previous clobbered a work-in-progress. Here is the merged result:
rS75567Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Previous clobbered a work-in-progress. Here is the merged result:

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>

Details

Provenance
peterAuthored on
Parents
rS75566: - Add appropriate #ifndef/#define/#endif to protect against multiple
Branches
Unknown
Tags
Unknown

Event Timeline