This Space for Rent

New Code! (part 2)

Discount has been shoved up to version 2.0.4beta4 because I needed to correct a defect I introduced when I added the invisible null termination chrome to mkd_css() and mkd_toc(). The new defect was that the data segment would become corrupted (either by memory overrun or an attempt to free unallocated memory?) sometimes when there was no css to be found (and since mkd_toc() uses the same sort of logic to add the null terminator, it was only just a matter of time.)

Nothing fancy, but it will reduce the number of mysterious core dumps by one or two, so it’s the sort of New Code that you might actually want to install.