Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!husc6!m2c!ulowell!hawk!sgerakin From: sgerakin@hawk.ulowell.edu (Steve Gerakines) Newsgroups: comp.os.minix Subject: Re: MacMinix Problems Message-ID: <1438@ul-cs.ulowell.edu> Date: 11 Nov 90 07:31:21 GMT References: <5030001@hpclove.HP.COM> <5030003@hpclove.HP.COM> Sender: news@ul-cs.ulowell.edu Reply-To: sgerakin@hawk.ulowell.edu (Steve Gerakines) Organization: University of Lowell, CS Dept. Lines: 27 In article <5030003@hpclove.HP.COM> wbb@hpclove.HP.COM (Bill Buzbee) writes: >When I manually invoke cron after logging in as root, it seems to work >fine, but when I try to fire it up from /etc/rc (last line in file: >/usr/bin/cron), I get a system crash the first time it wakes up. > >Any ideas? I have Minix-ST 1.5.10, and the version of cron I had never did work right. I only got around to fixing it a few days ago. I made only a couple of changes to the load_crontab() procedure, and it works fine now. What I did was add two lines that were: if (!len) continue; right before and after the statement: if (crontab[pos + len - 1] == '\n') { That seemed to fix it. Not exactly sure *why* that fixed it.. :-) Hope that helps. -Steve Gerakines ---------------------------------------------------------------------------- | Usenet: sgerakin@hawk.ulowell.edu | SteveNet: GENESIS:Steve2 | | UUCP: ...!harvard!swan!sgerakin@hawk | "My kingdom for a smoke!!!" | ----------------------------------------------------------------------------