← Commit list

995f15452

Denys Vlasenko
Denys Vlasenko
2009-11-17
FAILED Duration: 27s

Subject

libbb: fix vasprintf implementation

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 →

libbb/platform.c+2 -1
@@ -30,7 +30,8 @@ int FAST_FUNC vasprintf(char **string_ptr, const char *format, va_list p)
if (r < 128) {
va_end(p2);
- return xstrdup(buf);
+ *string_ptr = xstrdup(buf);
+ return r;
}
*string_ptr = xmalloc(r+1);