]> Sergey Matveev's repositories - nnn.git/commit
Use exact number of bytes for each filename.
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 18 Dec 2017 19:46:03 +0000 (01:16 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 18 Dec 2017 19:46:03 +0000 (01:16 +0530)
commitded690c693f470809b4fc2301f3179d4c33ea1f4
treeb05566164dc30cd1bf1b79599c5265ae9e48dc16
parent8307bc95bd4e0f07e3dd0e3e114e7f0595a95585
Use exact number of bytes for each filename.

Results in even less memory usage. The names are appended one after another.
The offsets are reset when the location of the memory changes die to realloc().

Other changes:

1. Use a debug mode print to measure time.
2. Remove redundant prefix when printing pointers in debug mode.
nnn.c