freebsd-ports/devel/libslang/files/patch-aa
1998-07-27 00:36:08 +00:00

12 lines
410 B
Plaintext

--- src/sltermin.c.orig Sun Jul 26 15:57:36 1998
+++ src/sltermin.c Sun Jul 26 15:58:06 1998
@@ -273,7 +273,7 @@
{
tidir = Terminfo_Dirs[i];
if ((tidir != NULL)
- && (sizeof (file) > strlen (tidir) + 2 + strlen (term)))
+ && (sizeof (file) > strlen (tidir) + 3 + strlen (term)))
{
sprintf (file, "%s/%c/%s", tidir, *term, term);
if (NULL != (fp = open_terminfo (file, ti)))