openrc/src/librc
Will Miles a7c99506d9 Fix repeated dependency cache rebuild if clock skewed
rc_deptree_update_needed would return early as soon as it found
any file newer than the existing dependency cache.  Unfortunately,
the first file found may not be the newest one there; so the
clock skew workaround in rc-misc:_rc_deptree_load would be given
a timestamp that was still too old.

This fix forces a full scan of all relevant files, so as to
ensure that we return a timestamp that will allow the clock skew
fix to operate.   The runtime cost is no worse than the case where
the cache is up to date (ie. we must check every possible file).

This fixes #161.
2017-11-30 13:56:54 -06:00
..
.gitignore clean up gitignore files 2011-06-03 17:07:22 -04:00
librc-daemon.c rc_find_pids: namespace fix 2017-11-13 16:54:57 -06:00
librc-depend.c Fix repeated dependency cache rebuild if clock skewed 2017-11-30 13:56:54 -06:00
librc-misc.c Clean up warnings that can use the _unused macro 2017-01-04 17:18:35 -06:00
librc-stringlist.c Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
librc.c rc_service_value_set: remove the option if NULL is the value 2017-10-26 12:54:37 -05:00
librc.h Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
Makefile Prioritize local includes and libraries 2015-01-24 13:48:53 -06:00
rc.h.in add init process 2017-04-06 17:13:59 -05:00
rc.map rc.map: remove references to rc_sys_v{1,2} 2015-12-08 12:50:47 -06:00