strfcpy (exp_dirpart, buf, sizeof (exp_dirpart));
snprintf (buf, sizeof (buf), "%s%s/", dirpart, s + 1);
strfcpy (dirpart, buf, sizeof (dirpart));
strfcpy (exp_dirpart, buf, sizeof (exp_dirpart));
snprintf (buf, sizeof (buf), "%s%s/", dirpart, s + 1);
strfcpy (dirpart, buf, sizeof (dirpart));