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