Hi Jeremy,

> In shell/command.c the following patch should fix the issue (assuming
> switchar changed).
> @@ -331,8 +331,10 @@
>          break;
>        case CMD_SPECIAL_DIR: /* pass '\\' & '.' too */
>          if(*rest == '\\' || *rest == '.' || *rest == ':') break;
> +        if (!isoptch(*rest) && *rest == '/') break;
>        default:        /* pass '/', ignore ',', ';' & '=' */
> -        if(!*rest || *rest == '/') break;
> +        if(!*rest || isoptch(*rest)) break;
>          if(isargdelim(*rest)) {
>              rest = ltrimcl(rest);
>              break;

Strange idea, why would "/" always be a switchar
even if you explititly configure switchar to be
something else? Which Windows versions do that?

And of course: Which software is known to set the
switchar to for example "-" while at the same time
expecting "/" to be still simultaneously valid...?

Regards, Eric



------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to