Global: major FFstrbuf related code refactor

This commit is contained in:
李通洲 committed 2023-06-10 09:15:15 +08:00
1 parent 2df1305521
commit c7119498a3
76 files changed
+274 -537

No files matched your search

+1 -2
View File
@@ -6,8 +6,7 @@
void ffPrintCommand(FFinstance* instance, FFCommandOptions* options)
{
FF_STRBUF_AUTO_DESTROY result;
ffStrbufInit(&result);
FF_STRBUF_AUTO_DESTROY result = ffStrbufCreate();
const char* error = ffProcessAppendStdOut(&result, (char* const[]){
options->shell.chars,
#ifdef _WIN32