Author: pfg Date: Thu Dec 21 16:19:10 2017 New Revision: 327063 URL: https://svnweb.freebsd.org/changeset/base/327063
Log: patch: rejname[] is also -r option buffer, and should be PATH_MAX. Obtained from: OpenBSD (CVS 1.64) Modified: head/usr.bin/patch/patch.c Modified: head/usr.bin/patch/patch.c ============================================================================== --- head/usr.bin/patch/patch.c Thu Dec 21 15:19:43 2017 (r327062) +++ head/usr.bin/patch/patch.c Thu Dec 21 16:19:10 2017 (r327063) @@ -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; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"