Files
systemd/src/basic
Zbigniew Jędrzejewski-Szmek ae5b395887 basic/terminal-util: cache value for colors_enabled
After all it's something that we query over and over.
For example, systemctl calls colors_enabled() four times for each failing
service. The compiler is unable to optimize those calls away because they
(potentially) accesses external and global state through on_tty() and
getenv().
2016-04-20 08:58:53 -04:00
..
2016-02-19 01:36:46 +06:00
2016-04-02 18:58:21 -04:00
2015-11-30 21:51:03 +01:00
2015-11-18 23:09:02 +01:00
2016-03-15 19:40:33 -04:00
…
2015-11-30 21:51:03 +01:00
2015-12-01 23:40:17 +01:00
2016-03-22 18:51:59 -04:00