Messages in this thread | | | Date | Sun, 18 Jan 2004 16:32:54 +0200 | From | Muli Ben-Yehuda <> | Subject | Re: True story: "gconfig" removed root folder... |
| |
On Sun, Jan 18, 2004 at 03:21:48PM +0100, Romain Lievin wrote:
> - if (conf_write(fn)) > - text_insert_msg("Error", "Unable to save configuration !"); > + /* protect against 'root directory' bug */ > + trailing = fn[strlen (fn)-1]; > + stat (fn, &sb);
What if stat() fails?
Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/
"the nucleus of linux oscillates my world" - gccbot@#offtopic
[unhandled content-type:application/pgp-signature] | |