diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-10-10 20:00:07 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-10-10 20:00:07 +0000 |
commit | fc407a14bdcddb41db5804962b496c4e3e860f78 (patch) | |
tree | 932b75ecb43a812b548171f9e178d5c948d17847 /Foundation/GTMLogger.m | |
parent | 79de9414ada9b15d2346595501fecb01ce5a1ec6 (diff) |
Fix support for file extensions, due to off-by-1 error from not taking the period into account for the total suffix-length to pass to mkstemps.
Example failure:
template = myTempXXX.ext
pathExtension = "ext"
[pathExtension length] = 3
Need for mkstemps:
suffix-length = 4 (".ext")
DELTA=6 (5 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=m=6
Diffstat (limited to 'Foundation/GTMLogger.m')
0 files changed, 0 insertions, 0 deletions