Re: gconf_engine_get_for_address behavior



Hi,

On Fri, 2004-04-23 at 09:18, Hemanth Yamijala wrote:
> Hi Havoc,
> 
> Thanks for the response. Please find attached a quickly
> written C code for the same. 
> 
> I tried the test with some cases, for e.g.:
> 
> a.out junk_string_not_in_path
> a.out valid_string_in_path
> 
> For the first one the output is:
> "Acquired engine handle using gconf_engine_get_for_address.."
> "Could not get engine using gconf_engine_get_local.."

	What follows the ".." ? Its kind of important - e.g. if you pass in the
path for a source which doesn't exist and you don't have permissions to
create that directory you get:

"Message: Failed: Could not make directory `/etc/gconf/gconf.xml.defaults1': Permission denied"

	That's expected behaviour ..

Cheers,
Mark.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]