Mercurial > hg > early-roguelike
comparison arogue7/save.c @ 165:2d94c32a709e
arogue7: comment out a problematic message.
This line causes a segfault on x64. I suspect one of the char*
arguments to msg() is being corrupted. But gdb doesn't make it easy
to debug variadic functions, and the crash doesn't occur when running
under valgrind. So the message is being removed until I can discover
the root of the problem.
author | John "Elwin" Edwards |
---|---|
date | Fri, 26 Jun 2015 11:32:37 -0400 |
parents | 89deb1197a2d |
children | 82b2a046d151 |
comparison
equal
deleted
inserted
replaced
164:49af2fd0bb0c | 165:2d94c32a709e |
---|---|
237 lines = LINES; | 237 lines = LINES; |
238 if (cols > 85) cols = 85; | 238 if (cols > 85) cols = 85; |
239 if (lines > 24) lines = 24; | 239 if (lines > 24) lines = 24; |
240 | 240 |
241 mpos = 0; | 241 mpos = 0; |
242 msg("%s: %s", file, ctime(&sbuf2.st_mtime)); | 242 /*msg("%s: %s", file, ctime(&sbuf2.st_mtime));*/ |
243 | 243 |
244 /* | 244 /* |
245 * defeat multiple restarting from the same place | 245 * defeat multiple restarting from the same place |
246 */ | 246 */ |
247 if (!wizard && md_unlink_open_file(file, inf) < 0) { | 247 if (!wizard && md_unlink_open_file(file, inf) < 0) { |