--- rpl/src/rpl.h 2016/03/16 12:19:35 1.288 +++ rpl/src/rpl.h 2016/03/17 16:31:36 1.289 @@ -1,4 +1,3 @@ -#define DEBUG_ERREURS /* ================================================================================ RPL/2 (R) version 4.1.25 @@ -67,6 +66,9 @@ #define DEBUG_TRACE uprintf("[%d/%X] %s(%d)\n", \ getpid(), pthread_self(), __FILE__, __LINE__); +#define TEST_ABSENCE_FICHIER(nom) \ + { int ios; struct stat *buf; ios = stat(nom, buf); \ + if (ios == 0) BUG(1, uprintf("File %s found!\n", nom)); } /* ================================================================================