Re: [PATCH] apr_getopt_long interface update and interleaving support
From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-11-25 00:10:08 CET
Greg Stein <gstein@lyra.org> writes:
I confess I don't understand the nuance of these `const' usages.
The code needs to permute argv; if it can't, we'll have to change the
Does the above declaration still permit permutation of the array?
That is (using the invocation "svn -d foo bar"), we have
argv --------+
So there are three things that could be constified:
1. The variable `argv', which holds a pointer to an array of
2. The elements of that array, each of which points to a C string.
3. The elements of a given C string.
If we're constifying #2, then that's a problem for permutation.
Please feel free to bean me if I'm totally missing the point here...
Humility is my strong suit,
|
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.