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

Re: Crashes when fetching status

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-07-02 06:42:21 CEST

On Thu, 2004-07-01 at 14:41, SteveKing wrote:
> svn_error_t *
> svn_wc_entries_read (apr_hash_t **entries,
> svn_wc_adm_access_t *adm_access,
> svn_boolean_t show_hidden,
> apr_pool_t *pool)
> {
> apr_hash_t *new_entries;
>
> new_entries = svn_wc__adm_access_entries (adm_access, show_hidden, pool);
> if (! new_entries)
> {
> SVN_ERR (read_entries (adm_access, show_hidden, pool));
> new_entries = svn_wc__adm_access_entries (adm_access,
> show_hidden, pool);
> }
>
> *entries = new_entries;
> return SVN_NO_ERROR;
> }
>
> As you can see, if "new_entries" is NULL, then the "entries" points to a
> random location!

No, I don't see that. How do you reason?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 2 06:43:15 2004

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.