-/* $OpenBSD: patch.c,v 1.63 2016/01/04 14:09:46 gsoares Exp $ */
+/* $OpenBSD: patch.c,v 1.64 2017/06/12 14:23:26 deraadt Exp $ */
/*
* patch - a program to apply diffs to original files
static bool reverse_flag_specified = 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;