mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
bcb470dc62
PR: 7387 Submitted by: bonga@doxx.net
12 lines
410 B
Plaintext
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)))
|