"Carlos Rica" [off-list ref] writes:
Now the function cleanup is not removing spaces at all, but only
counting where the line of text ends.
Before, in the previous version, the function cleanup was taking a
string as argument, and then it needed to modify that string. Now, it
just returns the new length, "not counting" the spaces and newline at
the end of the buffer passed. Its name and comments then could be
different, but I didn't know which ones.
Ah, you are right. I misread the patch --- cleanup() does not
even touch the buffer.