Diff for /freem/src/fmadm.c between versions 1.32 and 1.34

version 1.32, 2025/04/09 19:52:02 version 1.34, 2025/04/10 15:31:25
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.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   *   Revision 1.32  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 606  int fm_shell (void) Line 612  int fm_shell (void)
     char *cmdt = (char *) malloc (65535 * sizeof (char));      char *cmdt = (char *) malloc (65535 * sizeof (char));
     char *result = (char *) malloc (65535 * sizeof (char));      char *result = (char *) malloc (65535 * sizeof (char));
   
     /*      obj = 0;
     strcpy (fma_namespace, "SYSTEM");  
     set_namespace (fma_namespace, FALSE);  
     */  
           
     snprintf (fma_prompt, STRLEN - 1, "fmadm [%s]> ", fma_namespace);      snprintf (fma_prompt, STRLEN - 1, "fmadm [%s]> ", fma_namespace);
           
Line 714  int fm_shell (void) Line 717  int fm_shell (void)
   
         i = 0;          i = 0;
         while ((result = strtok (NULL, " ")) != NULL) {          while ((result = strtok (NULL, " ")) != NULL) {
             //    printf ("%d = %s\n", i, result);  
             strcpy (args[i++], result);              strcpy (args[i++], result);
         }          }
   
Line 1476  void fm_reconfigure(void) Line 1478  void fm_reconfigure(void)
 #if !defined(__OS2__)      #if !defined(__OS2__)    
     retval = cp (config_backup, config_file);      retval = cp (config_backup, config_file);
 #else  #else
     retval = DosCopy (config_file, config_backup);      retval = DosCopy (config_file, config_backup, 1);
 #endif      #endif    
   
     if (retval == 0) {      if (retval == 0) {

Removed from v.1.32  
changed lines
  Added in v.1.34


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>