Module Name:    src
Committed By:   roy
Date:           Sat Mar 28 15:25:53 UTC 2020

Modified Files:
        src/lib/libterminfo: compile.c

Log Message:
terminfo: use , as a record version delimiter rather than @

@ is allowed in a terminfo description, but a comma is not.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libterminfo/compile.c

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

Modified files:

Index: src/lib/libterminfo/compile.c
diff -u src/lib/libterminfo/compile.c:1.17 src/lib/libterminfo/compile.c:1.18
--- src/lib/libterminfo/compile.c:1.17	Sat Mar 28 02:38:15 2020
+++ src/lib/libterminfo/compile.c	Sat Mar 28 15:25:53 2020
@@ -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 @@ _ti_getname(int rtype, const char *orig)
 	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);

Reply via email to