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

Re: [PATCH] = != ==

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-09-11 10:58:07 CEST

patched. thx!

On Sun, Sep 10, 2000 at 05:26:14PM +0100, Joe Orton wrote:
> Courtesy of gcc warnings:
>
> Index: adm_crawler.c
> ===================================================================
> RCS file: /cvs/subversion/subversion/libsvn_wc/adm_crawler.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 adm_crawler.c
> --- adm_crawler.c 2000/09/09 02:02:31 1.4
> +++ adm_crawler.c 2000/09/10 16:20:34
> @@ -97,7 +97,7 @@ get_next_child_subdir (svn_string_t **na
> do {
> /* Read the next entry from dirhandle, get its name and type, too. */
> status = apr_readdir (dirhandle);
> - if (status = APR_ENOENT) /* no more entries */
> + if (status == APR_ENOENT) /* no more entries */
> {
> *name = NULL;
> return SVN_NO_ERROR;

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:08 2006

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.