summaryrefslogtreecommitdiffstats
path: root/commands/ls.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-03-28 14:23:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-06 14:44:09 +0200
commitb7df35d081673097a5e4f2cc5fcdfeaceaba16a9 (patch)
tree028aa047d2376171b848b16bd394e432f6e8b8ef /commands/ls.c
parent7156e859b6ddf2415a3c572c686df180c90ab249 (diff)
downloadbarebox-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