Hi, Ren�
> I have implemented this behavior, a patch is appended. Could you both
> please test it?
Took a quick glance. My only criticism is:
> + dot_reminders = (char*)malloc(len);
> + snprintf(dot_reminders, len, "%s/%s", home, DOT_REMINDERS);
We should check for malloc failing. I would do this:
dot_reminders = malloc(len); /* The cast is not required */
if (!dot_reminders) {
fprintf(ErrFp, "%s\n", ErrMsg[E_NO_MEM]);
exit(EXIT_FAILURE);
}
snprintf(dot_reminders, len, "%s/%s", home, DOT_REMINDERS);
Regards,
David.