On 10.06.2012 12:55, Bert Huijben wrote:
When I look at the stack trace in this mail it appears that you call the
status function with a NULL path. Why shouldn’t that fail at some level?
You are supposed to provide a path, not NULL to our api 😊
(I’m not sure if we can trust the rest of the stacktrace if you didn’t
provide NULL)
Bert
I don't think there's a chance that I would have passed NULL: all paths
and urls are first passed through svn_dirent_canonicalize() or for urls
svn_uri_canonicalize(). So either those functions would crash in case of
NULL paths, or an empty string would be returned. But not NULL.
And to be on the safe side here: I even check the paths I pass to
svn_client_status5 for empty strings first.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net