On 10/02/2015 11:03 AM, FRIGN wrote:
Also: - off_t addr; + static off_t addr = 0;please just keep the initialization inside the for-loop. It's a slightly better style than setting the variable directly at the declaration block.
But I don't want it initialized every time the for loop is entered. That's why I made it static. It needs to preserve its value between calls.
