From: John Marino Date: Mon, 11 Feb 2013 17:02:07 +0000 (+0100) Subject: libdialog: Increase MAX_LEN to 4096 (bug 2480) X-Git-Tag: v3.4.0rc~341 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/c090922fe69732915227914768a9c4f9190fdece libdialog: Increase MAX_LEN to 4096 (bug 2480) While we are waiting for new libdialog, improve the ancient one so that it at least doesn't core dump when used (e.g. ghostscript9 in dports) --- diff --git a/gnu/lib/libdialog/dialog.h b/gnu/lib/libdialog/dialog.h index d66fe57da0..f606129847 100644 --- a/gnu/lib/libdialog/dialog.h +++ b/gnu/lib/libdialog/dialog.h @@ -75,7 +75,7 @@ typedef struct _dmenu_item { } dialogMenuItem; #define VERSION "0.4" -#define MAX_LEN 2048 +#define MAX_LEN 4096 #ifndef TRUE #define TRUE (1)