static void quote_fmt_insert_program_output(const gchar *progname)
{
FILE *file;
- char buffer[PATH_MAX];
+ char buffer[BUFFSIZE];
if ((file = popen(progname, "r")) != NULL) {
while (fgets(buffer, sizeof(buffer), file)) {
static void quote_fmt_attach_file_program_output(const gchar *progname)
{
FILE *file;
- char buffer[PATH_MAX];
+ char buffer[BUFFSIZE];
if ((file = popen(progname, "r")) != NULL) {
/* get first line only */