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

Re: [PATCH] svn_ra_svn_handle_commands should take a pointer-to-const for its command list

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-02-03 02:42:01 CET

Julian Foad wrote:
> svn_ra_svn_handle_commands should be able to accept a constant list of
> commands, and so should take a pointer-to-const for its command list.
...
> This would allow the command lists in subversion/svnserve/serve.c and
> subversion/libsvn_ra/editor.c to be constant. Also, the command lists
> in serve.c should, I think, be "static". There are no declarations or
> references to them outside that file.

The addition of "static" is not logically related to the addition of
"const", only physically related because they appear on the same source
lines.

Also I forgot to delete the attachment when I remembered to put the diff
in line in the message.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 02:39:34 2003

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.