strdup_esq
lr->file = strdup_esq(p);
lr->function = strdup_esq(buf);
lr->file = strdup_esq(buf);
lr->function = strdup_esq(buf);
pev->group = strdup_esq(*arg);
pev->event = strdup_esq(*arg);
pev->target = strdup_esq(ptr + 1);
tmp = strdup_esq(arg);
pp->file = strdup_esq(arg);
char *strdup_esq(const char *str);