summaryrefslogtreecommitdiff
path: root/coccinelle/safe_fclose.cocci
diff options
context:
space:
mode:
authorАлександр Тихонов <disarmer.mk@gmail.com>2017-01-21 23:53:09 +0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-21 14:53:09 -0500
commit88e4dbd505ed4f8480b1f3b837b3c2ac55f1b1dd (patch)
treeb9c64c8d39df3492b0fdba9673db72e0dfea4065 /coccinelle/safe_fclose.cocci
parent2feb1c9659f8f9d873615b0c28217a659bdbc86a (diff)
Fixi caching in zsh completion (#5122)
I found several issues with zsh completion code: 1. typo in cache filename: "SYS_ALL_PROPRTIES", so cache just not loading from this file 2. cache stored in one file, despite user or system mode. So it can be loaded later in wrong mode 3. most serious problem: broken logic - it retrieves cache when _cache_invalid is true How to reproduce: type "systemctl --user status <TAB>" and you will see user units. Then press control+C and type "systemctl --system status <TAB>" in same session and you'll see user units again
Diffstat (limited to 'coccinelle/safe_fclose.cocci')
0 files changed, 0 insertions, 0 deletions