|
|
| version 1.1.1.1, 2025/01/19 02:04:04 | version 1.5, 2025/02/28 22:31:53 |
|---|---|
| Line 46 | Line 46 |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <unistd.h> | #include <unistd.h> |
| #include <errno.h> | #include <errno.h> |
| #include <ctype.h> | |
| #include "config.h" | #include "config.h" |
| #include "transact.h" | #include "transact.h" |
| #include "namespace.h" | #include "namespace.h" |
| Line 554 int fm_shell (void) | Line 555 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 757 int fm_shell (void) | Line 760 int fm_shell (void) |
| printf ("Global Path: %s\n", fma_global_path); | printf ("Global Path: %s\n", fma_global_path); |
| printf ("%%-Global Path: %s\n", fma_pct_global_path); | printf ("%%-Global Path: %s\n", fma_pct_global_path); |
| printf ("Journal File: %s\n", fma_journal_path); | printf ("Journal File: %s\n", fma_journal_path); |
| printf ("Journal Cut Threshold: %ld bytes\n", fma_journal_cut_threshold); | printf ("Journal Cut Threshold: %s bytes\n", fma_journal_cut_threshold); |
| break; | break; |
| case FMAC_EXIT: | case FMAC_EXIT: |
| Line 1023 int fm_edit (short object, int optc, cha | Line 1026 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); |