diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-21 22:56:37 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-22 11:47:18 +0200 |
commit | 66ce00153bd35bb83a296f7eb31efec6d6e6768b (patch) | |
tree | f3afa343afd79ef7a854b21e15289c43d4537281 /%25252525253fid%25252525253dd6eee302151c0316fddc100b9f1c02021f836fcb%252525253fid%252525253dd6eee302151c0316fddc100b9f1c02021f836fcb&id2%252525253d3fe99420177809180ccd3d6cf117b37fe8d6f9bc%2525253fid%2525253dd6eee302151c0316fddc100b9f1c02021f836fcb&id2%2525253d3fe99420177809180ccd3d6cf117b37fe8d6f9bc%25253fid%25253dd6eee302151c0316fddc100b9f1c02021f836fcb%253fid%253d3fe99420177809180ccd3d6cf117b37fe8d6f9bc%3fid%3df52ca8fe12e82ccc95f6498b29c7ccaeaf839b86?id=66ce00153bd35bb83a296f7eb31efec6d6e6768b | |
parent | 21fc7a4b7422f8b441a6266a11cc8e337aae190d (diff) |
Refactor new_tempfile()
Avoid preallocating buffers on the stack, use dynamic memory allocation
instead. Also, change the semantics of new_tempfile() so that it returns
the full name of the temporary file and fix all call sites.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to '%25252525253fid%25252525253dd6eee302151c0316fddc100b9f1c02021f836fcb%252525253fid%252525253dd6eee302151c0316fddc100b9f1c02021f836fcb&id2%252525253d3fe99420177809180ccd3d6cf117b37fe8d6f9bc%2525253fid%2525253dd6eee302151c0316fddc100b9f1c02021f836fcb&id2%2525253d3fe99420177809180ccd3d6cf117b37fe8d6f9bc%25253fid%25253dd6eee302151c0316fddc100b9f1c02021f836fcb%253fid%253d3fe99420177809180ccd3d6cf117b37fe8d6f9bc%3fid%3df52ca8fe12e82ccc95f6498b29c7ccaeaf839b86?id=66ce00153bd35bb83a296f7eb31efec6d6e6768b')
0 files changed, 0 insertions, 0 deletions