Module Name: src
Committed By: joerg
Date: Mon Nov 18 20:51:03 UTC 2013
Modified Files:
src/lib/libterminfo: curterm.c
Log Message:
Use an empty string, not a null pointer for nullname.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libterminfo/curterm.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/curterm.c
diff -u src/lib/libterminfo/curterm.c:1.9 src/lib/libterminfo/curterm.c:1.10
--- src/lib/libterminfo/curterm.c:1.9 Fri Jun 7 13:16:18 2013
+++ src/lib/libterminfo/curterm.c Mon Nov 18 20:51:03 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: curterm.c,v 1.9 2013/06/07 13:16:18 roy Exp $ */
+/* $NetBSD: curterm.c,v 1.10 2013/11/18 20:51:03 joerg Exp $ */
/*
* Copyright (c) 2009, 2011 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: curterm.c,v 1.9 2013/06/07 13:16:18 roy Exp $");
+__RCSID("$NetBSD: curterm.c,v 1.10 2013/11/18 20:51:03 joerg Exp $");
#include <assert.h>
#include <stdlib.h>
@@ -151,7 +151,7 @@ termname(void)
return __UNCONST(cur_term->name);
}
-static const char * nullname = '\0';
+static const char * nullname = "";
char *
longname(void)