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

RE: svn commit: rev 5717 - trunk/subversion/libsvn_client

From: Sander Striker <striker_at_apache.org>
Date: 2003-04-24 14:44:11 CEST

> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Thursday, April 24, 2003 2:39 PM

[...]
> > - svn_subst_keywords_t *final_kw = apr_pcalloc (pool, sizeof(*final_kw));
> > + svn_subst_keywords_t final_kw;
> >
> > if (fb->eol_style_val)
> > svn_subst_eol_style_from_value (&style, &eol, fb->eol_style_val->data);
> >
> > if (fb->keywords_val)
> > - build_final_keyword_struct (fb, final_kw, pool);
> > + build_final_keyword_struct (fb, &final_kw, pool);
>
>
> Does this really work? The helper function assumes that final_kw has
> had all its fields initialized to NULL.

Then do:

  svn_subst_keywords_t final_kw = { 0 };

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 24 14:44:59 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.