Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

src: PR bin/53164: Comment why we abort here.



details:   https://anonhg.NetBSD.org/src/rev/8d4eb482a366
branches:  trunk
changeset: 318023:8d4eb482a366
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Apr 10 12:44:41 2018 +0000
description:
PR bin/53164: Comment why we abort here.

diffstat:

 external/bsd/nvi/dist/vi/vs_refresh.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3d4973956f7a -r 8d4eb482a366 external/bsd/nvi/dist/vi/vs_refresh.c
--- a/external/bsd/nvi/dist/vi/vs_refresh.c     Tue Apr 10 11:44:13 2018 +0000
+++ b/external/bsd/nvi/dist/vi/vs_refresh.c     Tue Apr 10 12:44:41 2018 +0000
@@ -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 @@
 #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));
        }



Home | Main Index | Thread Index | Old Index