← Commit list

1336052a4

Denys Vlasenko
Denys Vlasenko
2016-10-24
SUCCESS Duration: 234s

Subject

lineedit: fix completion with applet names. closes 9361

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/lineedit.c+1 -1
@@ -782,7 +782,7 @@ static NOINLINE unsigned complete_cmd_dir_file(const char *command, int type)
pf_len = strlen(pfind);
#if ENABLE_FEATURE_SH_STANDALONE && NUM_APPLETS != 1
- if (type == FIND_EXE_ONLY) {
+ if (type == FIND_EXE_ONLY && !dirbuf) {
const char *p = applet_names;
while (*p) {