Skip to content

Commit

Permalink
remove slash->backslash conversion mess
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Mar 17, 2015
1 parent c1cd8c6 commit a623b72
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/io/procops.c
Expand Up @@ -179,15 +179,6 @@ MVMObject * MVM_file_openpipe(MVMThreadContext *tc, MVMString *cmd, MVMString *c
char * const _cmd = ANSIToUTF8(acp, getenv("ComSpec"));
char *args[3];
args[0] = "/c";
{
MVMint64 len = strlen(cmdin);
MVMint64 i;
for (i = 0; i < len; i++)
if (cmdin[i] == ' ')
break;
if (cmdin[i] == '/')
cmdin[i] = '\\';
}
args[1] = cmdin;
args[2] = NULL;
#else
Expand Down Expand Up @@ -269,16 +260,6 @@ MVMint64 MVM_proc_shell(MVMThreadContext *tc, MVMString *cmd, MVMString *cwd, MV
char * const _cmd = ANSIToUTF8(acp, getenv("ComSpec"));
char *args[3];
args[0] = "/c";
{
MVMint64 len = strlen(cmdin);
MVMint64 i;
for (i = 0; i < len; i++) {
if (cmdin[i] == ' ')
break;
if (cmdin[i] == '/')
cmdin[i] = '\\';
}
}
args[1] = cmdin;
args[2] = NULL;
#else
Expand Down

0 comments on commit a623b72

Please sign in to comment.