version 1.1, 2025/01/19 02:04:04
|
version 1.3, 2025/02/26 00:48:27
|
Line 554 int fm_shell (void)
|
Line 554 int fm_shell (void)
|
|
|
cmdt = strtok (fmarl_buf, " "); |
cmdt = strtok (fmarl_buf, " "); |
|
|
|
if (cmdt == (char *) NULL) continue; |
|
|
for (i = 0; i < strlen (cmdt); i++) cmdt[i] = cmdt[i] | 0140; |
for (i = 0; i < strlen (cmdt); i++) cmdt[i] = cmdt[i] | 0140; |
|
|
if (strcmp (cmdt, "exit") == 0) cmd = FMAC_EXIT; |
if (strcmp (cmdt, "exit") == 0) cmd = FMAC_EXIT; |
Line 1023 int fm_edit (short object, int optc, cha
|
Line 1025 int fm_edit (short object, int optc, cha
|
case OBJ_ROUTINE: |
case OBJ_ROUTINE: |
return fma_routines_edit (optc, options); |
return fma_routines_edit (optc, options); |
|
|
|
/* |
case OBJ_GLOBAL: |
case OBJ_GLOBAL: |
return fma_globals_edit (optc, options); |
return fma_globals_edit (optc, options); |
|
*/ |
|
|
default: |
default: |
fprintf (stderr, "fmadm: 'edit' is an invalid action for '%s'\n", obj_str); |
fprintf (stderr, "fmadm: 'edit' is an invalid action for '%s'\n", obj_str); |