summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-04-02 15:05:06 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-04-02 15:05:06 +0200
commitf977c0f728ed70bfe5a6513d2d723650a10d0785 (patch)
tree04508f5bfaa3f13bd4468981814b2d7fec10347b
parentcdbcca237081ae582dc40252fb1ec87106eb0075 (diff)
downloadextrace-0.1.tar.gz
extrace-0.1.tar.xz
extrace-0.1.zip
extrace: increase CMDLINE_MAX. v0.1
-rw-r--r--extrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extrace.c b/extrace.c
index 446f31e..37e1b5b 100644
--- a/extrace.c
+++ b/extrace.c
@@ -80,7 +80,7 @@
 #define BUFF_SIZE (max(max(SEND_MESSAGE_SIZE, RECV_MESSAGE_SIZE), 1024))
 #define MIN_RECV_SIZE (min(SEND_MESSAGE_SIZE, RECV_MESSAGE_SIZE))
 
-#define CMDLINE_MAX 1024
+#define CMDLINE_MAX 32768
 pid_t parent = 1;
 int width = 80;
 int flat = 0;