Changeset 1057
- Timestamp:
- 08/05/07 01:43:51 (1 year ago)
- Files:
-
- 1.8.3/branches/devel/CHANGES.182 (modified) (1 diff)
- 1.8.3/branches/devel/src/game.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/devel/CHANGES.182
r1030 r1057 13 13 14 14 ========================================================================== 15 16 Version 1.8.2 patchlevel 7 ???? ??, 2007 17 18 Fixes: 19 * Clarified the behavior of eval() and get_eval() in help. 20 Suggested by Talvo and Javelin. 21 * A failed db save no longer broadcasts a success message 22 in addition to a failure one. Reported by Cooee. 15 23 16 24 Version 1.8.2 patchlevel 6 July 9, 2007 1.8.3/branches/devel/src/game.c
r1051 r1057 95 95 extern const unsigned char *tables; 96 96 extern void conf_default_set(void); 97 static intdump_database_internal(void);97 static bool dump_database_internal(void); 98 98 static FILE *db_open(const char *filename); 99 99 static FILE *db_open_write(const char *filename); … … 310 310 jmp_buf db_err; 311 311 312 static int312 static bool 313 313 dump_database_internal(void) 314 314 { … … 335 335 #endif 336 336 #endif 337 return 1;337 return false; 338 338 } else { 339 339 local_dump_database(); … … 413 413 #endif 414 414 415 return 0;415 return true; 416 416 } 417 417 … … 512 512 513 513 do_rawlog(LT_ERR, "DUMPING: %s.#%d#", globals.dumpfile, epoch); 514 dump_database_internal();515 do_rawlog(LT_ERR, "DUMPING: %s.#%d# (done)", globals.dumpfile, epoch);514 if (dump_database_internal()) 515 do_rawlog(LT_ERR, "DUMPING: %s.#%d# (done)", globals.dumpfile, epoch); 516 516 } 517 517 … … 529 529 { 530 530 pid_t child; 531 intnofork, status, split;531 bool nofork, status, split; 532 532 epoch++; 533 533 … … 606 606 } else { 607 607 reserve_fd(); 608 if ( DUMP_NOFORK_COMPLETE && *DUMP_NOFORK_COMPLETE)608 if (status && DUMP_NOFORK_COMPLETE && *DUMP_NOFORK_COMPLETE) 609 609 flag_broadcast(0, 0, "%s", DUMP_NOFORK_COMPLETE); 610 610 }
