[BACK]Return to interpreter.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/interpreter.c between version 1.21 and 1.22

version 1.21, 2021/04/20 14:26:19 version 1.22, 2021/04/20 16:34:20
Line 370 
Line 370 
         if (numparams == 0)          if (numparams == 0)
                 return (dobeep_msgs("Command takes no arguments:", cmdp));                  return (dobeep_msgs("Command takes no arguments:", cmdp));
   
           if (numparams == -1)
                   return (dobeep_msgs("Interactive command found:", cmdp));
   
         if ((e1 = malloc(sizeof(struct expentry))) == NULL) {          if ((e1 = malloc(sizeof(struct expentry))) == NULL) {
                 cleanup();                  cleanup();
                 return (dobeep_msg("malloc Error"));                  return (dobeep_msg("malloc Error"));

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22