minit

A small yet feature-complete init (http://fefe.de/minit/)
Log | Files | Refs | README | LICENSE

commit 2701e33fe9c41f550051d69eefe403c6d99a0705
parent b94e9f1e4871436546fdffc89dce07afbc7c01cd
Author: leitner <leitner>
Date:   Fri, 20 Feb 2004 04:46:00 +0000

write two 0s to make sure

Diffstat:
Mminit.c | 2+-
Mmsvc.c | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/minit.c b/minit.c @@ -540,7 +540,7 @@ ok: if (root[i].pid>1 && root[i].father==idx) write(outfd,root[i].name,str_len(root[i].name)+1); } - write(outfd,"",1); + write(outfd,"\0",2); } break; } diff --git a/msvc.c b/msvc.c @@ -108,7 +108,6 @@ void dumpdependencies(char* service) { return; } i+=2; - if (!tmp[3]) break; } else { if (!tmp[0] && last=='\n') break; }