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:08:06 +0000 (15:08 +0100)
commit332285d51119f8f98270655bf88f485a9f914df1
tree6c38915fe551213441ca02b8b9ae4872e311922c
parent903f71895fc1cfd7bbc7609c57b9d09153b7011e
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.
src/instr/instr_TI_trace.c
src/instr/instr_trace.c