components/vim/patches/7031620.patch
author Jiri Kukacka <jiri.kukacka@oracle.com>
Thu, 16 Jan 2014 06:52:45 -0800
branchs11u1-sru
changeset 2935 cd48674f5a76
parent 820 60113d90e478
permissions -rw-r--r--
15949286 update tcsh to 6.18.01 15825527 SUNBT7206801 tcsh tries to autocorrect commands that are correct 16072367 New tcsh changes the value of $HOSTTYPE from i86pc to sun386i

--- src/os_unix.c	Tue May  1 09:52:21 2012
+++ src/os_unix.c	Tue May  1 09:52:24 2012
@@ -2509,7 +2509,7 @@
 	}
 
 	l = STRLEN(buf);
-	if (l >= len)
+	if (l >= len - 1)
 	    retval = FAIL;
 #ifndef VMS
 	else