aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-depend.c
AgeCommit message (Collapse)Author
2008-03-17Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples
expensive malloc calls.
2008-03-16Use correct TAILQ_CONCAT macro when not defined.Roy Marples
2008-03-16Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples
from queue(3). Refactor code style around the BSD KNF.
2008-03-04Don't store empty services.Roy Marples
2008-03-03Introduce LOCAL_PREFIX for a user maintained script location.Roy Marples
2008-02-28Support the use of PREFIX and PKG_PREFIX.Roy Marples
2008-02-22Welcome to 2008.Roy Marples
2008-02-19Don't warn about removed services through use of the nosys keyword.Roy Marples
2008-02-19Fix compile warning, and free removed depinfo'sRoy Marples
2008-02-19Default to using C99 standard.Roy Marples
2008-02-19Fix some warnings.Roy Marples
2008-02-19keywords -> keywordRoy Marples
2008-02-19Add the nojail keyword which excludes services marked as such from the ↵Roy Marples
dependency tree when in a jail, #bug 22
2008-02-03RC_DEP_START/STOP should only be used for ordering services, and not the ↵Roy Marples
actual dependencies ofthe services themselves. This allows coldplugged services to satisfy the net dependency for rc ordering them correctly but not for services that require net and strict is on.
2008-02-01Constantise as much as possible so that it reduces COW usage.Roy Marples
2008-01-30Use the variable instead of type for sizeof.Roy Marples
2008-01-30Add xzalloc function to reduce size.Roy Marples
2008-01-30Allow !net to remove the net provision from dependencies.Roy Marples
2008-01-21Checking first char for null is more efficient than strlen.Roy Marples
2008-01-15rc_newer_than no longer tests if souce has data, making it a more logical ↵Roy Marples
function. As such, we add the existss function to check for existance and size when checking to see if the deptree needs an update.
2008-01-14Add support for is_newer_than and is_older_than. is_older_than currently ↵Roy Marples
doesn't work as expected, but is_newer_than works fine.
2008-01-14strip trailing newlinesMike Frysinger
2008-01-11Re-indent to a standard tw of 8.Roy Marples
2008-01-07rc_getline keeps expanding it's malloced buffer until it has read a whole ↵Roy Marples
line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line.
2008-01-06We should check we resolved a service before stating it's existance.Roy Marples
2008-01-05Add some .mk stubs to impersonate bsk .mk files to make writing our ↵Roy Marples
Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.