GetUserName(user, &namelen);
if (verbose)
tell_user(stderr, "Guessing user name: %s", user);
GetUserName(user, &namelen);
if (verbose)
tell_user(stderr, "Guessing user name: %s", user);
* wildcardness comes before the final slash) and arrange
* things so that a dirstack entry will be set up.
*/
* wildcardness comes before the final slash) and arrange
* things so that a dirstack entry will be set up.
*/
if (!wc_unescape(newsource, source)) {
/* Yes, here we go; it's a wildcard. Bah. */
char *dupsource, *lastpart, *dirpart, *wildcard;
if (!wc_unescape(newsource, source)) {
/* Yes, here we go; it's a wildcard. Bah. */
char *dupsource, *lastpart, *dirpart, *wildcard;
* wildcard escapes from the directory part, throwing
* an error if it contains a real wildcard.
*/
* wildcard escapes from the directory part, throwing
* an error if it contains a real wildcard.
*/
if (!wc_unescape(dirpart, dupsource)) {
tell_user(stderr, "%s: multiple-level wildcards unsupported",
source);
if (!wc_unescape(dirpart, dupsource)) {
tell_user(stderr, "%s: multiple-level wildcards unsupported",
source);