Code review time

Right now, I’m reviewing code I copied into my own code branch (p4) and I’m finding that I’m doing something I thought I’d never do. I’m actually lining up functions and parameters into columns. I have to admit, it’s much easier to read code this way then when code is all smushed together. Now, I … Read more

What’s wrong with this code?

Recently, I was looking at a bug report for an error that would only happen on one operating system. When I looked at the code… I had wondered why no one called this one out: char buffer[128] = {0}; // Some code here memcpy ( buffer, another_buffer, 128 ); // Some more code free (buffer); … Read more