|
|
| version 1.6, 2025/03/24 04:13:12 | version 1.8, 2025/04/10 01:24:39 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * Revision 1.8 2025/04/10 01:24:39 snw | |
| * Remove C++ style comments | |
| * | |
| * Revision 1.7 2025/04/09 19:52:02 snw | |
| * Eliminate as many warnings as possible while building with -Wall | |
| * | |
| * Revision 1.6 2025/03/24 04:13:12 snw | * Revision 1.6 2025/03/24 04:13:12 snw |
| * Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 | * Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 |
| * | * |
| Line 77 tp_transaction transactions[TP_MAX_NEST] | Line 83 tp_transaction transactions[TP_MAX_NEST] |
| void tp_init(void) | void tp_init(void) |
| { | { |
| union semun arg; | union semun arg; |
| char err[255]; | |
| key_t tp_sk; | key_t tp_sk; |
| tp_sk = ftok (config_file, 4); | tp_sk = ftok (config_file, 4); |
| Line 385 int tp_trollback(int levels) | Line 390 int tp_trollback(int levels) |
| register int i; | register int i; |
| register int j; | register int j; |
| // for (i = 0; i < levels; i++) { | |
| for (i = tp_level; i >= (((tp_level - levels) >= 0) ? tp_level - levels : 0); i--) { | for (i = tp_level; i >= (((tp_level - levels) >= 0) ? tp_level - levels : 0); i--) { |
| for (j = 1; j <= transactions[i].opcount; j++) { | for (j = 1; j <= transactions[i].opcount; j++) { |