Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site uwmacc.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!uwvax!uwmacc!myers From: myers@uwmacc.UUCP (Jeff Myers) Newsgroups: net.games.hack,net.sources.bugs Subject: bug fix for 1.0.2 uptodate routine... Message-ID: <1067@uwmacc.UUCP> Date: Sun, 12-May-85 15:03:27 EDT Article-I.D.: uwmacc.1067 Posted: Sun May 12 15:03:27 1985 Date-Received: Tue, 14-May-85 08:25:53 EDT Distribution: net Organization: UWisconsin-Madison Academic Comp Center Lines: 12 Xref: linus net.games.hack:557 net.sources.bugs:290 A previous fix for version 1.0.1 in the file hack.stat.c can be applied to version 1.0.2 hack.unix.c. The diff follows for using mtime rather than ctime in checking if a saved level or game is out of date. Just lost a saved game due to this; arg!!!!! Somebody apparently tried to hard link to the game, modifying the ctime, but NOT the mtime. diff hack.unix.c.old hack.unix.c 108c108 < if(buf.st_ctime < hbuf.st_ctime) { --- > if(buf.st_mtime < hbuf.st_mtime) {