Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/tic One more strdup -> estrdup.



details:   https://anonhg.NetBSD.org/src/rev/bc1512d118b7
branches:  trunk
changeset: 779509:bc1512d118b7
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu May 31 20:40:05 2012 +0000

description:
One more strdup -> estrdup.

diffstat:

 usr.bin/tic/tic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a0487512c433 -r bc1512d118b7 usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Thu May 31 20:38:19 2012 +0000
+++ b/usr.bin/tic/tic.c Thu May 31 20:40:05 2012 +0000
@@ -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 @@
 
        /* 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)



Home | Main Index | Thread Index | Old Index