*** openinout.c~	Sun Feb 21 09:48:14 1993
--- openinout.c	Tue Aug 31 09:06:14 1993
***************
*** 131,150 ****
  
    /* Wrap another sh around the invocation of the MakeTeX program, so we
       can avoid `sh: MakeTeXTFM: not found' errors confusing the user.
       We don't use fork/exec ourselves, since we'd have to call sh anyway
       to interpret the script.  */
!   strcpy (cmd, "sh -c ");
    
    strcat (cmd, program);
    cmd_len = strlen (cmd);
    cmd[cmd_len++] = ' ';
  
    while (nameoffile[i] != ' ')
      cmd[cmd_len++] = nameoffile[i++];
  
    /* Add terminating null.  */
    cmd[cmd_len] = 0;
  
    /* Don't show any output.  */
    strcat (cmd, ">/dev/null 2>&1");
  
--- 131,151 ----
  
    /* Wrap another sh around the invocation of the MakeTeX program, so we
       can avoid `sh: MakeTeXTFM: not found' errors confusing the user.
       We don't use fork/exec ourselves, since we'd have to call sh anyway
       to interpret the script.  */
!   strcpy (cmd, "sh -c \"");
    
    strcat (cmd, program);
    cmd_len = strlen (cmd);
    cmd[cmd_len++] = ' ';
  
    while (nameoffile[i] != ' ')
      cmd[cmd_len++] = nameoffile[i++];
  
    /* Add terminating null.  */
+   cmd[cmd_len++] = '\"';
    cmd[cmd_len] = 0;
  
    /* Don't show any output.  */
    strcat (cmd, ">/dev/null 2>&1");
  
