projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cb17f
)
Use bb_xstrdup() instead of strdup().
author
Manuel Novoa III
<mjn3@codepoet.org>
Sun, 1 Feb 2004 07:34:28 +0000
(07:34 -0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Sun, 1 Feb 2004 07:34:28 +0000
(07:34 -0000)
coreutils/expr.c
patch
|
blob
|
history
diff --git
a/coreutils/expr.c
b/coreutils/expr.c
index fdb4e3997c99cb22e8ead5fae940d5158bf9dc5f..77d603b88a1b3e74e21c80ff46630610569d5ffe 100644
(file)
--- 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_x
strdup (s);
return v;
}