I have a program that's simulating a POS system, and it writes every sale to a sales log, along with the timestamp. To get the timestamp, I'm passing a time_t struct through localtime(), and passing that through strftime.
However, when i run my program thorugh bcheck, I get:
---------
Blocks in use report (blocks in use: 1 total size 10428 bytes)
Allocation Call Stack:
get_zone < getsystemTZ < _localtime_r < printLog < purchase < main
-----------------
(obviously main, purchase and printlog are my functions)
Anyone know what's going on, here? Surely the standard library wouldn't have leaks?
However, when i run my program thorugh bcheck, I get:
---------
Blocks in use report (blocks in use: 1 total size 10428 bytes)
Allocation Call Stack:
get_zone < getsystemTZ < _localtime_r < printLog < purchase < main
-----------------
(obviously main, purchase and printlog are my functions)
Anyone know what's going on, here? Surely the standard library wouldn't have leaks?
Comment