patch: rejname[] is also -r option buffer, and should be PATH_MAX.
Obtained from: OpenBSD (CVS 1.64)
This commit is contained in:
parent
426b6bd53c
commit
c844f14e37
@ -112,7 +112,7 @@ static bool reverse_flag_specified = false;
|
||||
static bool Vflag = false;
|
||||
|
||||
/* buffer holding the name of the rejected patch file. */
|
||||
static char rejname[NAME_MAX + 1];
|
||||
static char rejname[PATH_MAX];
|
||||
|
||||
/* how many input lines have been irretractibly output */
|
||||
static LINENUM last_frozen_line = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user