Make a copy of the buffer before calling sprintf. 15/1215/2 5.3.0-beta-1
authorVincent COUVERT <vincent.couvert@scilab.org>
Thu, 1 Jul 2010 15:14:28 +0000 (17:14 +0200)
committerPierre MARECHAL <pierre.marechal@scilab.org>
Thu, 1 Jul 2010 15:19:31 +0000 (17:19 +0200)
commitbec4aedeb3d5170154921df4810a70b9aeb63919
tree3832d558998e646aea92d80be7fba0f6eb6898e9
parentb1660756380549c4fbcd752d6933f7034f4fdde9
Make a copy of the buffer before calling sprintf.
Using the same buffer as input and output of sprintf can cause input/output erasing.

Change-Id: I3d6c18ac1dc462db63ee33b5d8120a9a20247445
scilab/modules/core/src/c/tmpdir.c