Mail Archives: djgpp-workers/2000/07/04/10:56:42
> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Tue, 4 Jul 2000 09:28:40 -0400
>
> I did some debugging and the backslashes come from dosexec_find_on_path. When
> searches along PATH, it copies PATH but doesn't convert backslashes to
> forward slashes.
Is this __dosexec_find_on_path that is linked into Bash, or the one
linked into Perl (or something else)?
If it's __dosexec_find_on_path that's linked into Bash, it should have
seen forward slashes in PATH, since stock djgpp.env arranges for that.
Unless bash.exe and/or sh.exe are renamed, that is.
> So perhaps the solution/workaround is instead to have dosexec_find_on_path
> always return slashes.
I think this would be too dangerous: __dosexec_find_on_path might be
used with programs that don't grok forward slashes, such as
COMMAND.COM.
I think if we need to solve a local problem with scripts, it's
sufficient to solve it locally in script_exec.
- Raw text -