Source-Changes-HG archive

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

[src/trunk]: src/lib/libterminfo PR/55118: Andreas Gustafsson: Oops, set the ...



details:   https://anonhg.NetBSD.org/src/rev/ae4b12c38d17
branches:  trunk
changeset: 1008610:ae4b12c38d17
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 28 15:45:56 2020 +0000

description:
PR/55118: Andreas Gustafsson: Oops, set the right flag variable.

diffstat:

 lib/libterminfo/compile.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 78fb14908696 -r ae4b12c38d17 lib/libterminfo/compile.c
--- a/lib/libterminfo/compile.c Sat Mar 28 15:41:23 2020 +0000
+++ b/lib/libterminfo/compile.c Sat Mar 28 15:45:56 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compile.c,v 1.19 2020/03/28 15:27:54 roy Exp $ */
+/* $NetBSD: compile.c,v 1.20 2020/03/28 15:45:56 christos Exp $ */
 
 /*
  * Copyright (c) 2009, 2010, 2011, 2020 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: compile.c,v 1.19 2020/03/28 15:27:54 roy Exp $");
+__RCSID("$NetBSD: compile.c,v 1.20 2020/03/28 15:45:56 christos Exp $");
 
 #if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
 #include <sys/endian.h>
@@ -647,7 +647,7 @@
                            0, flags))
                                goto error;
                } else if (_ti_find_cap(tic, &tic->flags, 'f', ind) == NULL) {
-                       if (!_ti_encode_buf_id_flags(&tic->flags, ind, flags))
+                       if (!_ti_encode_buf_id_flags(&tic->flags, ind, flag))
                                goto error;
                }
        }



Home | Main Index | Thread Index | Old Index