Subversion Repositories SvarDOS

Rev

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

Rev 989 Rev 1140
Line 80... Line 80...
80
    strcpy(buff, "PATH=");
80
    strcpy(buff, "PATH=");
81
    for (i = 0;; i++) {
81
    for (i = 0;; i++) {
82
      buff[i + 5] = p->argv[0][i];
82
      buff[i + 5] = p->argv[0][i];
83
      if (buff[i + 5] == 0) break;
83
      if (buff[i + 5] == 0) break;
84
    }
84
    }
-
 
85
    nls_strtoup(buff); /* upcase path, ref: https://osdn.net/projects/svardos/ticket/44146 */
85
    env_setvar(p->env_seg, buff);
86
    env_setvar(p->env_seg, buff);
86
  }
87
  }
87
 
88
 
88
  return(CMD_OK);
89
  return(CMD_OK);
89
}
90
}