← Commit list

75a76269b

Ron Yorston
Ron Yorston
2015-03-22
SUCCESS Duration: 157s

Subject

ash: do not split the result of tilde expansion

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 →

shell/ash.c+0 -3
@@ -5791,7 +5791,6 @@ exptilde(char *startp, char *p, int flags)
struct passwd *pw;
const char *home;
int quotes = flags & (EXP_FULL | EXP_CASE | EXP_REDIR);
- int startloc;
name = p + 1;
@@ -5823,9 +5822,7 @@ exptilde(char *startp, char *p, int flags)
if (!home || !*home)
goto lose;
*p = c;
- startloc = expdest - (char *)stackblock();
strtodest(home, SQSYNTAX, quotes);
- recordregion(startloc, expdest - (char *)stackblock(), 0);
return p;
lose:
*p = c;