|
|
| version 1.9, 2025/04/09 19:52:02 | version 1.11, 2025/04/13 04:22:43 |
|---|---|
| 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.11 2025/04/13 04:22:43 snw | |
| * Fix snprintf calls | |
| * | |
| * Revision 1.10 2025/04/10 01:24:39 snw | |
| * Remove C++ style comments | |
| * | |
| * Revision 1.9 2025/04/09 19:52:02 snw | * Revision 1.9 2025/04/09 19:52:02 snw |
| * Eliminate as many warnings as possible while building with -Wall | * Eliminate as many warnings as possible while building with -Wall |
| * | * |
| Line 388 void symtab_bltin (short action, char *k | Line 394 void symtab_bltin (short action, char *k |
| stcnv_m2c (tt_with); | stcnv_m2c (tt_with); |
| stcnv_m2c (tt_key); | stcnv_m2c (tt_key); |
| snprintf (key, 100, "%s%s\201\201", tt_with, tt_key); | sprintf (key, "%s%s\201\201", tt_with, tt_key); |
| no_with: | no_with: |
| Line 594 no_with: | Line 600 no_with: |
| /* OLD get_sym routine */ | /* OLD get_sym routine */ |
| if ((i = alphptr[(int) key[0]])) { | if ((i = alphptr[(int) key[0]])) { |
| // printf ("alphptr match; writing_mb = %d\r\n", writing_mb); | /* printf ("alphptr match; writing_mb = %d\r\n", writing_mb); */ |
| k = 1; | k = 1; |
| j = i + 1; /* first char always matches! */ | j = i + 1; /* first char always matches! */ |
| Line 1847 zinvend: | Line 1853 zinvend: |
| *newptr++ = k1; | *newptr++ = k1; |
| *newptr++ = set_sym; | *newptr++ = set_sym; |
| //if (mcmnd != ZNEW) test = FALSE; | /*if (mcmnd != ZNEW) test = FALSE; */ |
| return; | return; |
| Line 1914 zinvend: | Line 1920 zinvend: |
| char esbuf[256]; | char esbuf[256]; |
| snprintf (esbuf, 255, "%d\201", estack); | snprintf (esbuf, sizeof (esbuf) - 1, "%d\201", estack); |
| j = stcpy (newptr, esbuf); | j = stcpy (newptr, esbuf); |