bug in libsvn_wc/questions.c
From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-04-04 13:04:52 CEST
Hi,
There's a problem in the function
/* No matter which way you look at it, the file needs to exist. */
The if clause checks for an error and the wrong filetype. The problem
I think the correct way to check this would be something like this:
if ((err && APR_STATUS_IS_ENOENT(err->apr_err))
(I discovered this because if the filetype is APR_DIR, the check will
Stefan
-- ___ oo // \\ "De Chelonian Mobile" (_,\/ \_/ \ TortoiseSVN \ \_/_\_/> The coolest Interface to (Sub)Version Control /_/ \_\ http://tortoisesvn.net --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Wed Apr 4 13:05:14 2007 |
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.