Subversion Repositories SvarDOS

Rev

Rev 484 | Rev 490 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 484 Rev 485
Line 618... Line 618...
618
  static struct rmod_props far *rmod;
618
  static struct rmod_props far *rmod;
619
  static char *cmdline;
619
  static char *cmdline;
620
 
620
 
621
  rmod = rmod_find(BUFFER_len);
621
  rmod = rmod_find(BUFFER_len);
622
  if (rmod == NULL) {
622
  if (rmod == NULL) {
-
 
623
    /* look at command line parameters (in case env size if set there) */
-
 
624
    parse_argv(&cfg);
623
    rmod = rmod_install(cfg.envsiz, BUFFER, BUFFER_len);
625
    rmod = rmod_install(cfg.envsiz, BUFFER, BUFFER_len);
624
    if (rmod == NULL) {
626
    if (rmod == NULL) {
625
      outputnl("ERROR: rmod_install() failed");
627
      outputnl("ERROR: rmod_install() failed");
626
      return(1);
628
      return(1);
627
    }
629
    }
628
    /* look at command line parameters */
-
 
629
    parse_argv(&cfg);
-
 
630
    /* copy flags to rmod's storage (and enable ECHO) */
630
    /* copy flags to rmod's storage (and enable ECHO) */
631
    rmod->flags = cfg.flags | FLAG_ECHOFLAG;
631
    rmod->flags = cfg.flags | FLAG_ECHOFLAG;
632
    /* printf("rmod installed at %Fp\r\n", rmod); */
632
    /* printf("rmod installed at %Fp\r\n", rmod); */
633
  } else {
633
  } else {
634
    /* printf("rmod found at %Fp\r\n", rmod); */
634
    /* printf("rmod found at %Fp\r\n", rmod); */