Projects / SysVinit / Comments

Comments for SysVinit

14 Nov 2009 20:49 peretdorguitno

The sysvinit project is now being developed on .

10 Mar 2003 03:41 jakemus

Bug in main() of init.c?
A colleague of mine found a place that looks like a bug:

isinit = (getpid() == 1);
for (f = 1; f < argc; f++) {
if (!strcmp(argv[f], "-i") || !strcmp(argv[f], "--init"))
isinit = 1;

..So, this only accepts "-" or "--init" as first argument due "break;". Braces should be added.

Normal GNU/[place your favorite kernel here] -users using readily built distros will never need this to be fixed, nor.. well most likely.. anybody.


Project Spotlight


An open, cross-platform journaling program.


Project Spotlight


A scientific plotting package.