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

Re: Patch: www/faq.html

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-12-03 17:30:15 CET

On Sat, 2005-12-03 at 10:05 -0500, Dan Cross wrote:
> + execl("/usr/local/bin/svn", "svn", "update", "/home/joe/public_html/", NULL);

This is reeeeally really nitpicky, but since execl() is a
variable-arguments function, the NULL at the end is not automatically
casted to the correct type. So the final NULL should be "(const char *)
NULL" to ensure that it is passed correctly.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 3 17:31:31 2005

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