fiss-minit

A standalone service supervisor based on minit
Log | Files | Refs | README | LICENSE

commit ebcfd61855b90fd532f65e9d0d4a52855f0340c1
parent b9c05dcc86d7001eaf29ae4ab431f26c602ee4fe
Author: leitner <leitner>
Date:   Sat, 24 Nov 2001 23:12:27 +0000

better installation support, and portability bugfix from libowfat.

Diffstat:
MMakefile | 11+++++++++--
Mbyte_copy.c | 2+-
2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -34,5 +34,12 @@ install: test -d /etc/minit || mkdir /etc/minit -mkfifo -m 600 /etc/minit/in /etc/minit/out -tar: clean - cd .. && tar cvvf minit.tar.bz2 minit --use=bzip2 --exclude CVS +VERSION=minit-$(shell head -1 CHANGES|sed 's/://') +CURNAME=$(notdir $(shell pwd)) + +tar: clean rename + cd .. && tar cvvf $(VERSION).tar.bz2 $(VERSION) --use=bzip2 --exclude CVS + +rename: + if test $(CURNAME) != $(VERSION); then cd .. && mv $(CURNAME) $(VERSION); fi + diff --git a/byte_copy.c b/byte_copy.c @@ -5,7 +5,7 @@ void byte_copy(void* out, unsigned int len, const void* in) { register char* s=out; register const char* t=in; - register const char* u=in+len; + register const char* u=u+len; if (len>127) { if (sizeof(unsigned long)>4) { /* a good compiler should optimize this check away */ for (;(unsigned long)t&7;) {