Re: GConf and bonobo-conf are now obsolete
- From: James Henstridge <james daa com au>
- To: Seth Nickell <snickell stanford edu>
- Cc: <gnome-hackers gnome org>
- Subject: Re: GConf and bonobo-conf are now obsolete
- Date: Tue, 31 Jul 2001 10:54:34 +0800 (WST)
On 30 Jul 2001, Seth Nickell wrote:
[snip]
> char foobar[512];
...
> sprintf (&foobar, "%s%s%s%s\n", g_get_home_dir(), ".foo/",
> "bar/foo", "bar");
won't this result in a segfault? (or overwriting random memory). &foobar
is a (char **) -- you should just be passing in foobar. With code like
this, the user's preferences will get lost, which we don't want.
James.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]