Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Misc cleanups.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 6 Nov 2013 06:47:24 +0000 (07:47 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 6 Nov 2013 14:15:20 +0000 (15:15 +0100)
commit1f9b43f6136afa00556c469f2b81fe59854ff740
treef0e66536bfcc78f9701da547239ec784f84cb694
parent5148a41df673de64b6e939aaf0e605426151dae8
Misc cleanups.

* stat'ing the directory before mkdir is just wrong (race condition),
  remove this test and let fopen report any error;
* use mode 0777 for mkdir, and let the user adjust his umask;
* use xbt_free() instead of free();
* remove useless tests before xbt_{dict,dynar}_free();
* and the usual reindent.
(cherry picked from commit 332285d51119f8f98270655bf88f485a9f914df1)
src/instr/instr_TI_trace.c
src/instr/instr_trace.c