Module Name: src Committed By: joerg Date: Thu May 31 20:40:05 UTC 2012
Modified Files: src/usr.bin/tic: tic.c Log Message: One more strdup -> estrdup. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 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.16 src/usr.bin/tic/tic.c:1.17 --- src/usr.bin/tic/tic.c:1.16 Thu May 31 20:38:19 2012 +++ src/usr.bin/tic/tic.c Thu May 31 20:40:05 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: tic.c,v 1.16 2012/05/31 20:38:19 joerg Exp $ */ +/* $NetBSD: tic.c,v 1.17 2012/05/31 20:40:05 joerg Exp $ */ /* * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #endif #include <sys/cdefs.h> -__RCSID("$NetBSD: tic.c,v 1.16 2012/05/31 20:38:19 joerg Exp $"); +__RCSID("$NetBSD: tic.c,v 1.17 2012/05/31 20:40:05 joerg Exp $"); #include <sys/types.h> #include <sys/queue.h> @@ -183,7 +183,7 @@ process_entry(TBUF *buf, int flags) /* Create aliased terms */ if (tic->alias != NULL) { - alias = p = strdup(tic->alias); + alias = p = estrdup(tic->alias); while (p != NULL && *p != '\0') { e = strchr(p, '|'); if (e != NULL)