Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-05-06 | split out librc-independent helpers into a dedicated header file | Mike Frysinger | |
Many of these helpers are not special to librc, so split them out so they can be used in all source trees (including libeinfo). Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2012-01-15 | Rename proc_getent to rc_proc_getent and make it global | Christian Ruppert | |
2011-11-19 | make shell math operations style more succulent | Mike Frysinger | |
Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-07-13 | Add a new function, bool rc_getfile(const char *, char **, size_t *) | Mike Frysinger | |
<snip> Read the entire @file into the buffer and set @len to the size of the buffer when finished. For C strings, this will be strlen(buffer) + 1. Don't forget to free the buffer afterwards! </snip> We also fix bug 374899 by adding this new function. X-Gentoo-Bug: 374899 X-Gentoo-Bug-URL: http://bugs.gentoo.org/374899 | |||
2011-02-14 | tests: filter valid parisc relocs | Mike Frysinger | |
Parisc generates a few relocs against internal symbols which are OK. X-Gentoo-Bug: 258913 X-Gentoo-Bug-URL: http://bugs.gentoo.org/258913 Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | tests: check for trailing blank newlines | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Build cleanup: librc.funcs.hidden.list is generated by testsuite. | Robin H. Johnson | |
2011-01-17 | Bug #351570: Hidden function fixes: rc_conf_value. | Robin H. Johnson | |
Refactor rc_conf_value into librc for use in library context. Also requires moving: - rc_conf internal static - Defines: PROFILE_ENV, SYS_WHITELIST, USR_WHITELIST, RC_PATH_PREFIX moved to rc.h with new RC_ prefix added. - Defines: RC_CONF, RC_CONF_OLD moved to rc.h. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2011-01-17 | tests: check for common style issues | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Factor out new function rc_deptree_load_file to aid in debugging deptree ↵ | Robin H. Johnson | |
files from users. Loads from a given filename instead of the hardcoded RC_DEPTREE_CACHE define. | |||
2011-01-05 | Implement explicit selection of subsystem types. | Robin H. Johnson | |
- Fixes bugs #347583, #349389, both of which were triggered by cgroups being detected as the LXC subsystem type. - Makes it much easier to select "prefix" type. - "rc -S" will now print a warning if you have not configured rc_sys in /etc/rc.conf - All other semantics of rc_sys are unchanged in this patch. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> | |||
2009-06-21 | Use rc_getline instead of assuming a fixed kernel cmdline length. | Roy Marples | |
This is now requires as COMMAND_LINE_SIZE isn't exposed by kernel headers anymore. Fixes #177. | |||
2009-05-02 | Add runlevel stacking, #88 | Roy Marples | |
This implementation has the limitation that you cannot have a stacked runlevel and service of the same name in a runlevel. | |||
2009-05-02 | Ignore test results | Roy Marples | |
2009-02-23 | Fix unit test. | Roy Marples | |
2009-02-23 | Style. | Roy Marples | |
2008-12-04 | make ignore now configures the sv:ignore property. | Roy Marples | |
2008-12-04 | Punt .gitignore files. | Roy Marples | |
2008-10-07 | Fix tests, #Gentoo 240350. | Roy Marples | |
2008-07-03 | Add older_than function to complement newer_than function. Also make the ↵ | Roy Marples | |
userland instance reversed to be compatable with current baselayout, which truely does suck. | |||
2008-07-03 | More unit fixes. | Roy Marples | |
2008-07-03 | More unit fixes. | Roy Marples | |
2008-07-03 | Fix test. | Roy Marples | |
2008-07-03 | Add an is_older_than unit test, thanks to zzam | Roy Marples | |
2008-03-28 | Put some dir locations in rc.h so that 3rd party apps can become awware of them. | Roy Marples | |
2008-03-28 | Remove rc_service_start/stop from librc as they block and unmask signals. ↵ | Roy Marples | |
The application may not wish this behaviour and should fork/exec the service itself. | |||
2008-03-26 | We should sort using LC_ALL=C to avoid locale issues. | Roy Marples | |
2008-03-24 | setup a bit of a test framework | Mike Frysinger | |
2008-03-24 | fixup testing | Mike Frysinger | |
2008-03-24 | ignore generated files | Mike Frysinger | |
2008-03-24 | add check/test rules | Mike Frysinger | |
2007-11-28 | Massive whitespace cleanup | Roy Marples | |
2007-09-26 | No need for bash here | Roy Marples | |
2007-09-26 | add some tests to make sure our exported symbols are sane | Mike Frysinger | |