← Commit list

083862228

Manuel Novoa III
Manuel Novoa III
2004-02-01
FAILED Duration: 76s

Subject

Use bb_xstrdup() instead of strdup().

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/expr.c+1 -1
@@ -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;
}