Roger that Dang. How do I vouch for a dead comment?
Part 1/2: Resurrecting SFJulie1's original comment here because it seems like it was unfairly killed: Ohla. You have to rewrite it entirely. Logs should only be built by chunking at the end of the file atomic write of…
And Part 2/2: file.seek is your friend. You should not use any dynamic allocation to make it more robust (yes preallocating fixed memory size with "char circular_ring[N * MAX_SIZE]") Where N and MAX_SIZE are fixed.…
Hey Julie, Do you live in a state of perpetual nausea? Because there is so much code out there like this...I fear it could overwhelm your life to worry about it. I think the best we can do is just fix the stuff we want…
Roger that Dang. How do I vouch for a dead comment?
Part 1/2: Resurrecting SFJulie1's original comment here because it seems like it was unfairly killed: Ohla. You have to rewrite it entirely. Logs should only be built by chunking at the end of the file atomic write of…
And Part 2/2: file.seek is your friend. You should not use any dynamic allocation to make it more robust (yes preallocating fixed memory size with "char circular_ring[N * MAX_SIZE]") Where N and MAX_SIZE are fixed.…
Hey Julie, Do you live in a state of perpetual nausea? Because there is so much code out there like this...I fear it could overwhelm your life to worry about it. I think the best we can do is just fix the stuff we want…