|
|
| version 1.15, 2025/03/24 20:58:05 | version 1.17, 2025/03/30 01:36:58 |
|---|---|
| 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.17 2025/03/30 01:36:58 snw | |
| * Make it easier to bring back fma_gedit, fix double-free in global handler, limit $CHAR to 7-bit ASCII | |
| * | |
| * Revision 1.16 2025/03/24 20:59:58 snw | |
| * Try using DosCopy API instead of built-in cp function on OS/2 | |
| * | |
| * Revision 1.15 2025/03/24 20:58:05 snw | * Revision 1.15 2025/03/24 20:58:05 snw |
| * Try using DosCopy API instead of built-in cp function on OS/2 | * Try using DosCopy API instead of built-in cp function on OS/2 |
| * | * |
| Line 1049 int fm_edit (short object, int optc, cha | Line 1055 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); |
| Line 1174 void fm_configure (void) | Line 1179 void fm_configure (void) |
| fprintf (stderr, "fmadm: running on OS/2; will copy %s to %s\n", srcfile, dstfile); | fprintf (stderr, "fmadm: running on OS/2; will copy %s to %s\n", srcfile, dstfile); |
| if (DosCopy (srcfile, dstfile, 1, 0L) != 0) { | if (DosCopy (srcfile, dstfile, 1) != 0) { |
| fprintf (stderr, "fmadm: fatal error copying %s to %s\n", srcfile, dstfile); | fprintf (stderr, "fmadm: fatal error copying %s to %s\n", srcfile, dstfile); |
| exit (1); | exit (1); |
| } | } |