From: Manuel Novoa III Date: Sun, 1 Feb 2004 07:34:28 +0000 (-0000) Subject: Use bb_xstrdup() instead of strdup(). X-Git-Tag: 1_00_pre7~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=083862228a3da88c6890a1a4beba5355367dfd2e;p=oweals%2Fbusybox.git Use bb_xstrdup() instead of strdup(). --- diff --git a/coreutils/expr.c b/coreutils/expr.c index fdb4e3997..77d603b88 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c @@ -117,7 +117,7 @@ static VALUE *str_value (char *s) v = xmalloc (sizeof(VALUE)); v->type = string; - v->u.s = strdup (s); + v->u.s = bb_xstrdup (s); return v; }