shithub: neatroff

Download patch

ref: b034c0bb63e8aa719118cb79323e6732fe728465
parent: 4652c57beb10011ac64fdf1fec796757b3b232dd
author: Ali Gholami Rudi <[email protected]>
date: Mon Feb 15 12:39:42 EST 2021

in: use PATHLEN for inbuf.path

Suggested by Meino <[email protected]>.

--- a/in.c
+++ b/in.c
@@ -5,7 +5,7 @@
 #include "roff.h"
 
 struct inbuf {
-	char path[256];		/* for file buffers */
+	char path[PATHLEN];	/* for file buffers */
 	FILE *fin;
 	char *buf;		/* for string buffers */
 	char **args;