Module Name:    src
Committed By:   rin
Date:           Tue Apr 10 12:44:41 UTC 2018

Modified Files:
        src/external/bsd/nvi/dist/vi: vs_refresh.c

Log Message:
PR bin/53164: Comment why we abort here.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/nvi/dist/vi/vs_refresh.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/nvi/dist/vi/vs_refresh.c
diff -u src/external/bsd/nvi/dist/vi/vs_refresh.c:1.9 src/external/bsd/nvi/dist/vi/vs_refresh.c:1.10
--- src/external/bsd/nvi/dist/vi/vs_refresh.c:1.9	Sun Feb  4 09:15:45 2018
+++ src/external/bsd/nvi/dist/vi/vs_refresh.c	Tue Apr 10 12:44:41 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: vs_refresh.c,v 1.9 2018/02/04 09:15:45 mrg Exp $ */
+/*	$NetBSD: vs_refresh.c,v 1.10 2018/04/10 12:44:41 rin Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *	The Regents of the University of California.  All rights reserved.
@@ -16,7 +16,7 @@
 static const char sccsid[] = "Id: vs_refresh.c,v 10.50 2001/06/25 15:19:37 skimo Exp  (Berkeley) Date: 2001/06/25 15:19:37 ";
 #endif /* not lint */
 #else
-__RCSID("$NetBSD: vs_refresh.c,v 1.9 2018/02/04 09:15:45 mrg Exp $");
+__RCSID("$NetBSD: vs_refresh.c,v 1.10 2018/04/10 12:44:41 rin Exp $");
 #endif
 
 #include <sys/types.h>
@@ -723,7 +723,7 @@ done_cursor:
 #else
 	if (vip->sc_smap == NULL) {
 		if (F_ISSET(sp, SC_SCR_REFORMAT))
-			abort(); /* XXX */
+			abort(); /* XXX infinite recursion */
 		F_SET(sp, SC_SCR_REFORMAT);
 		return (vs_paint(sp, flags));
 	}

Reply via email to