--- freem/src/fmadm.c 2025/04/09 19:52:02 1.32 +++ freem/src/fmadm.c 2025/04/10 15:31:25 1.34 @@ -1,5 +1,5 @@ /* - * $Id: fmadm.c,v 1.32 2025/04/09 19:52:02 snw Exp $ + * $Id: fmadm.c,v 1.34 2025/04/10 15:31:25 snw Exp $ * FreeM Administration Tool * * @@ -24,6 +24,12 @@ * along with FreeM. If not, see . * * $Log: fmadm.c,v $ + * Revision 1.34 2025/04/10 15:31:25 snw + * Attempt to fix DosCopy calls for OS/2 + * + * Revision 1.33 2025/04/10 01:24:38 snw + * Remove C++ style comments + * * Revision 1.32 2025/04/09 19:52:02 snw * Eliminate as many warnings as possible while building with -Wall * @@ -606,10 +612,7 @@ int fm_shell (void) char *cmdt = (char *) malloc (65535 * sizeof (char)); char *result = (char *) malloc (65535 * sizeof (char)); - /* - strcpy (fma_namespace, "SYSTEM"); - set_namespace (fma_namespace, FALSE); - */ + obj = 0; snprintf (fma_prompt, STRLEN - 1, "fmadm [%s]> ", fma_namespace); @@ -714,7 +717,6 @@ int fm_shell (void) i = 0; while ((result = strtok (NULL, " ")) != NULL) { - // printf ("%d = %s\n", i, result); strcpy (args[i++], result); } @@ -1476,7 +1478,7 @@ void fm_reconfigure(void) #if !defined(__OS2__) retval = cp (config_backup, config_file); #else - retval = DosCopy (config_file, config_backup); + retval = DosCopy (config_file, config_backup, 1); #endif if (retval == 0) {