=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/autoexec.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- src/usr.bin/mg/autoexec.c 2015/09/26 21:51:58 1.17 +++ src/usr.bin/mg/autoexec.c 2021/04/21 14:45:28 1.18 @@ -1,4 +1,4 @@ -/* $OpenBSD: autoexec.c,v 1.17 2015/09/26 21:51:58 jasper Exp $ */ +/* $OpenBSD: autoexec.c,v 1.18 2021/04/21 14:45:28 lum Exp $ */ /* this file is in the public domain */ /* Author: Vincent Labrecque April 2002 */ @@ -97,7 +97,7 @@ int auto_execute(int f, int n) { - char patbuf[128], funcbuf[128], *patp, *funcp; + char patbuf[BUFSIZE], funcbuf[BUFSIZE], *patp, *funcp; int s; if ((patp = eread("Filename pattern: ", patbuf, sizeof(patbuf),