diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-28 14:23:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-04-06 14:44:09 +0200 |
commit | b7df35d081673097a5e4f2cc5fcdfeaceaba16a9 (patch) | |
tree | 028aa047d2376171b848b16bd394e432f6e8b8ef /commands/ls.c | |
parent | 7156e859b6ddf2415a3c572c686df180c90ab249 (diff) | |
download | barebox-b7df35d081673097a5e4f2cc5fcdfeaceaba16a9.tar.gz barebox-b7df35d081673097a5e4f2cc5fcdfeaceaba16a9.tar.xz |
glob: do not unnecessarily opendir() a directory
opendir() can trigger automounts, so do not use it when the
pattern we examine doesn't have any wildcards.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/ls.c')
0 files changed, 0 insertions, 0 deletions