shithub: neatroff

Download patch

ref: 4652c57beb10011ac64fdf1fec796757b3b232dd
parent: 51afad2c12012e90d719029f889afaaa74a048b6
author: Ali Gholami Rudi <ali@rudi.ir>
date: Fri Feb 12 05:08:12 EST 2021

in: increase the length of input file paths

Reported by Meino <tuxic@posteo.de>.

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