Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libterminfo terminfo: use , as a record version delimite...
details: https://anonhg.NetBSD.org/src/rev/0847cc088ebe
branches: trunk
changeset: 1008606:0847cc088ebe
user: roy <roy%NetBSD.org@localhost>
date: Sat Mar 28 15:25:53 2020 +0000
description:
terminfo: use , as a record version delimiter rather than @
@ is allowed in a terminfo description, but a comma is not.
diffstat:
lib/libterminfo/compile.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ae7d89604848 -r 0847cc088ebe lib/libterminfo/compile.c
--- a/lib/libterminfo/compile.c Sat Mar 28 15:23:33 2020 +0000
+++ b/lib/libterminfo/compile.c Sat Mar 28 15:25:53 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compile.c,v 1.17 2020/03/28 02:38:15 christos Exp $ */
+/* $NetBSD: compile.c,v 1.18 2020/03/28 15:25:53 roy 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.17 2020/03/28 02:38:15 christos Exp $");
+__RCSID("$NetBSD: compile.c,v 1.18 2020/03/28 15:25:53 roy Exp $");
#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
#include <sys/endian.h>
@@ -158,7 +158,7 @@
char *name;
if (rtype == TERMINFO_RTYPE) {
- if (asprintf(&name, "%s@v3", orig) < 0)
+ if (asprintf(&name, "%s,v3", orig) < 0)
name = NULL;
} else {
name = strdup(orig);
Home |
Main Index |
Thread Index |
Old Index