aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-misc.c
AgeCommit message (Collapse)Author
2009-01-29Clean up some compiler warnings.Roy Marples
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples
mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
2008-09-18Add missing profile bits to env, #72.Roy Marples
2008-05-19realloc -> xreallocRoy Marples
2008-05-19Fix a potential segfault, thanks to Fernando J. Pereda.Roy Marples
2008-05-12Style.Roy Marples
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-26Fix a segfault if rc.conf does not exist, Gentoo #214887Roy Marples
2008-03-17Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples
from glibc.
2008-03-17Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples
expensive malloc calls.
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-02-22Welcome to 2008.Roy Marples
2008-01-22Quiet some lint warnings.Roy Marples
2008-01-21Checking first char for null is more efficient than strlen.Roy Marples
2008-01-18We should never change the list passed to rc_config_value.Roy Marples
2008-01-14strip trailing newlinesMike Frysinger
2008-01-11Re-indent to a standard tw of 8.Roy Marples
2008-01-10Loads of NetBSD tweaks here.Roy Marples
2008-01-07Avoid valgrind errors with getline.Roy Marples
2008-01-07Really fix off by one error.Roy Marples
2008-01-07Fix an off by one error.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-06Use a dynamically expanding buffer for reading config files.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.