"D.J. Heap" <djheap@gmail.com> writes:
> On Nov 7, 2007 5:18 PM, Karl Fogel <kfogel@red-bean.com> wrote:
> [snip]
>> Thank you for reporting this.
>>
>> Does anyone know what a portable separator char is? The original
>> issue suggested ";". Maybe I should have done that, but is there
>> anywhere where it causes a problem? What about plain colon ":" ?
>
> A comma works fine if the whole list is double-quoted, and we should
> probably be quoting all parameters anyway to handle spaces in paths,
> etc. if APR isn't already.
Hmmm. But this isn't going through a shell. If we put double quotes
around something, then the double quotes will actually be there in the
argument, right? That is, if you write your hook program in C, then
argv[3][0] == '"', no?
In other words, is the behavior different depending on whether you
write start-commit.bat vs start-commit.c? And if so, should be be
putting double quotes around args only conditionally?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 8 01:52:40 2007