diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da13d65 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.o +correcteur \ No newline at end of file diff --git a/dictionnaire.c b/dictionnaire.c index e502e98..fdcb859 100644 --- a/dictionnaire.c +++ b/dictionnaire.c @@ -118,7 +118,7 @@ bool importer_dict(const char *nom_dic) Noeud *prochain_noeud_vide = reserve_noeuds; // On transfère le fichier depuis un stream dans un tableau - char *buffer = malloc(taille_fic); // +1 pour le caractere de terminaison + char *buffer = malloc(taille_fic+1); // +1 pour le caractere de terminaison fread(buffer, 1, taille_fic, dict); // Marque la fin du fichier diff --git a/img/benchmark.png b/img/benchmark.png new file mode 100644 index 0000000..8902467 Binary files /dev/null and b/img/benchmark.png differ diff --git a/img/compilation.png b/img/compilation.png new file mode 100644 index 0000000..3feece6 Binary files /dev/null and b/img/compilation.png differ diff --git a/img/warnings.png b/img/warnings.png new file mode 100644 index 0000000..073296d Binary files /dev/null and b/img/warnings.png differ -- libgit2 0.21.2