Found a bug in my code. This is correct.
Code:/* allocate memory to hold pointers to receipt lines */ char **rec_texts = malloc(MAXRECL * sizeof(*rec_texts));
Found a bug in my code. This is correct.
Code:/* allocate memory to hold pointers to receipt lines */ char **rec_texts = malloc(MAXRECL * sizeof(*rec_texts));
Disclaimer: This post shows my ignorance at the time of its making. I claim ownership of but not responsibility for all errors in it. Reference at your own peril.