openrc/src
Jakob Drexel 0b435ddd83 librc: Fix crash if the service name is the same as the including runlevel
If a service has the same name as the runlevel it is in, openrc will
crash on changing to such runlevel. It goes in a recursive madness and
eventually gets a SEGV while in snprintf (don't know why).

This fixes two errors:
1. ls_dir stats files not with full path -> stat always returns != 0
2. ls_dir adds files to list if stat failed

This fixes #53.

X-Gentoo-Bug: 537304
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=537304
2015-05-04 09:54:51 -05:00
..
includes helpers.h, start-stop-daemon.c: remove uneeded macros 2014-10-23 19:14:06 -05:00
libeinfo Prioritize local includes and libraries 2015-01-24 13:48:53 -06:00
librc librc: Fix crash if the service name is the same as the including runlevel 2015-05-04 09:54:51 -05:00
rc convert all references from runscript to openrc-run 2015-04-27 11:21:29 -05:00
test Revert "Make einfo routines private" 2013-10-21 13:49:41 -05:00
tools Add tools directory 2013-01-02 18:00:04 -06:00
Makefile Revert "Make einfo routines private" 2013-10-21 13:49:41 -05:00