Changeset df4def70b2e17409817d2db70c5929d52cb489e7
- Timestamp:
- 12/23/10 04:20:52 (2 years ago)
- Author:
- Nedko Arnaudov <nedko@…>
- Children:
- 93fe0427c1ab0a650b7c294142492205b3e60b9c
- Parents:
- d4946efe30b6cc3d3b901c8ec150f9810c020490
- git-committer:
- Nedko Arnaudov <nedko@arnaudov.name> / 2010-12-23T04:20:52Z+0200
- Message:
-
ladishd: data integrity checks
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5bb20eda
|
rdf4def7
|
|
| 221 | 221 | } |
| 222 | 222 | |
| | 223 | ladish_check_integrity(); |
| | 224 | |
| 223 | 225 | if (!ladish_studio_compose_filename(cmd_ptr->studio_name, &filename, &bak_filename)) |
| 224 | 226 | { |
-
|
r45c73b3
|
rdf4def7
|
|
| 60 | 60 | extern bool g_quit; |
| 61 | 61 | |
| | 62 | void ladish_check_integrity(void); |
| | 63 | |
| 62 | 64 | #endif /* #ifndef COMMON_H__CFDC869A_31AE_4FA3_B2D3_DACA8488CA55__INCLUDED */ |
-
|
rd4946ef
|
rdf4def7
|
|
| 383 | 383 | loader_run(); |
| 384 | 384 | ladish_studio_run(); |
| | 385 | ladish_check_integrity(); |
| 385 | 386 | } |
| 386 | 387 | |
-
|
r5bb20eda
|
rdf4def7
|
|
| 54 | 54 | log_info("Saving project '%s' in room '%s' to '%s'", room_ptr->project_name, room_ptr->name, room_ptr->project_dir); |
| 55 | 55 | |
| | 56 | ladish_check_integrity(); |
| | 57 | |
| 56 | 58 | time(×tamp); |
| 57 | 59 | ctime_r(×tamp, timestamp_str); |
-
|
r0a6d730
|
rdf4def7
|
|
| 673 | 673 | struct ladish_write_context context; |
| 674 | 674 | |
| | 675 | ladish_check_integrity(); |
| | 676 | |
| 675 | 677 | context.fd = fd; |
| 676 | 678 | context.indent = indent + 1; |
| … |
… |
|
| 735 | 737 | { |
| 736 | 738 | struct ladish_write_context context; |
| | 739 | |
| | 740 | ladish_check_integrity(); |
| 737 | 741 | |
| 738 | 742 | context.fd = fd; |
| … |
… |
|
| 940 | 944 | struct ladish_write_jack_context context; |
| 941 | 945 | |
| | 946 | ladish_check_integrity(); |
| | 947 | |
| 942 | 948 | if (!ladish_write_indented_string(fd, indent, "<clients>\n")) |
| 943 | 949 | { |
-
|
r54aebc4
|
rdf4def7
|
|
| 365 | 365 | 'recent_store.c', |
| 366 | 366 | 'recent_projects.c', |
| | 367 | 'check_integrity.c', |
| 367 | 368 | ]: |
| 368 | 369 | daemon.source.append(os.path.join("daemon", source)) |