Thread View: net.games.hack
1 messages
1 total messages
Started by Jeff Myers
Sun, 12 May 1985 19:03
bug fix for 1.0.2 uptodate routine...
Author: Jeff Myers
Date: Sun, 12 May 1985 19:03
Date: Sun, 12 May 1985 19:03
12 lines
1044 bytes
1044 bytes
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) {
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads