about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-10-26 14:20:39 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-10-26 14:20:39 +0200
commit612e94be9d1511c8b56155918b2c462588b8ee54 (patch)
tree432927f5afa74251e610f29544e0c7f1c9327ce2 /src/include
parent7a95c78ba014bcf9c65bac82828f1035142affdd (diff)
downloadbox64-612e94be9d1511c8b56155918b2c462588b8ee54.tar.gz
box64-612e94be9d1511c8b56155918b2c462588b8ee54.zip
More flexibility for BOX64_ROLLING_LOG
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/box64context.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index da1f91af..9eb130ec 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -62,8 +62,6 @@ typedef struct base_segment_s {
     pthread_key_t   key;
 } base_segment_t;
 
-#define CYCLE_LOG   16
-
 typedef struct box64context_s {
     path_collection_t   box64_path;     // PATH env. variable
     path_collection_t   box64_ld_lib;   // LD_LIBRARY_PATH env. variable
@@ -180,8 +178,8 @@ typedef struct box64context_s {
     int                 stack_clone_used;
 
     // rolling logs
-    char*               log_call[CYCLE_LOG];
-    char*               log_ret[CYCLE_LOG];
+    char*               *log_call;
+    char*               *log_ret;
     int                 current_line;
 
 } box64context_t;