sdup
ASN1_STRING *sdup;
sdup = ASN1_STRING_dup(value);
if (!sdup)
ASN1_TYPE_set(a, type, sdup);
char *cp, *sdup;
sdup = xstrdup(s);
if ((cp = strchr(sdup, '=')) == NULL || cp == sdup) {
free(sdup);
free(sdup);
*typep = xstrdup(sdup);
free(sdup);
char *sdup, *tmp;
sdup = xstrdup(s);
if ((tmp = colon(sdup)) == NULL)
tmp = strrchr(sdup, '@');
if (*sdup != '\0')
user = xstrdup(sdup);
host = xstrdup(cleanhostname(sdup));
free(sdup);
char *sdup, *cp, *tmp;
if ((sdup = tmp = strdup(s)) == NULL)
free(sdup);
char *orig, *sdup, *cp;
orig = sdup = xstrdup(s);
if ((cp = strrchr(sdup, ',')) == NULL)
cp = sdup; /* last */
} while (cp != sdup);
sdup(&cmd->pwent.pw_name);
sdup(&cmd->pwent.pw_passwd);
sdup(&cmd->pwent.pw_class);
sdup(&cmd->pwent.pw_gecos);
sdup(&cmd->pwent.pw_dir);
sdup(&cmd->pwent.pw_shell);
sdup(&cmd->grent.gr_name);
sdup(&cmd->grent.gr_passwd);
void sdup(char **strp);