Prevent channel buffer allocation larger than memory
[lttng-tools.git] / src / bin / lttng / conf.c
index f96be3a8175a248e8c1e6187e8e5fc5e96c8b270..6fc3e605128181e8615c72976129c4c56d70e7da 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <limits.h>
 #include <stdio.h>
@@ -184,6 +183,7 @@ int _config_read_session_name(char *path, char **name)
        int ret = 0;
        FILE *fp;
        char var[NAME_MAX], *session_name;
+
 #if (NAME_MAX == 255)
 #define NAME_MAX_SCANF_IS_A_BROKEN_API "254"
 #endif
This page took 0.024621 seconds and 5 git commands to generate.