Module Name: src
Committed By: he
Date: Fri Feb 5 14:40:07 UTC 2010
Modified Files:
src/usr.bin/tic: tic.c
Log Message:
More adaptation for ports where char is unsigned char.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/tic/tic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/tic/tic.c
diff -u src/usr.bin/tic/tic.c:1.2 src/usr.bin/tic/tic.c:1.3
--- src/usr.bin/tic/tic.c:1.2 Fri Feb 5 12:31:56 2010
+++ src/usr.bin/tic/tic.c Fri Feb 5 14:40:07 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.2 2010/02/05 12:31:56 roy Exp $ */
+/* $NetBSD: tic.c,v 1.3 2010/02/05 14:40:07 he Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tic.c,v 1.2 2010/02/05 12:31:56 roy Exp $");
+__RCSID("$NetBSD: tic.c,v 1.3 2010/02/05 14:40:07 he Exp $");
#include <sys/types.h>
@@ -471,7 +471,8 @@
static int
process_entry(TBUF *buf)
{
- char *cap, *capstart, *p, *e, *name, *desc, *alias, flag;
+ char *cap, *capstart, *p, *e, *name, *desc, *alias;
+ signed char flag;
long num;
int slash;
ssize_t ind;