[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1874093 - in /subversion/trunk/subversion: libsvn_subr/cmdline.c tests/cmdline/update_tests.py

From: James McCoy <jamessan_at_jamessan.com>
Date: Thu, 5 Mar 2020 18:50:41 -0500

On Mon, Feb 17, 2020 at 10:27:11AM +0100, Bert Huijben wrote:
> I think this needs a specific implementation for Windows. The rules on Windows
> are different and not really tied to some shell.
> Applications receive the full commandline as string and then need to parse them
> themselves. Usually they leave this to the C library so there are some rules
> that are pretty common, but there are always exceptions.

Indeed. I had hoped for more from the APR APIs.

I've previously referenced
https://docs.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way
when I've had to recall the intricacies of escaping for Windows.

> Using ';' on a path works on Windows, but is certainly not recommended. It is
> the path separator used in environment variables like %PATH%.

It's not recommended on *nix either. :)

I've been pertty overwhelmed with work lately, which is why I haven't
followed up on this until now.

I'll try to get some time to work on it, but any other help would be
appreciated.

Cheers,

-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
Received on 2020-03-06 00:50:52 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.