From: [EMAIL PROTECTED] (Stuart Brorson)
Subject: Re: gEDA: A complaint about glib-2.6 in libgeda
Date: Wed, 4 Jan 2006 21:22:01 -0500 (EST)
Message-ID: <[EMAIL PROTECTED]>
> A little more info: The offending fcn is g_unlink. It appears here:
>
> /* Delete the backup file */
> if ( (g_file_test (backup_filename, G_FILE_TEST_EXISTS)) &&
> (!g_file_test(backup_filename, G_FILE_TEST_IS_DIR)) )
> {
> if (g_unlink(backup_filename) != 0) {
> s_log_message("s_page_delete: Unable to delete backup file %s.",
> backup_filename); }
> }
> g_free (dirname);
> g_free (only_filename);
> g_free (backup_filename);
>
>
> I guess this is the autosave stuff. Is there a glib-2.2 version of
> g_unlink?
Quick check - g_unlink is in the glib-2.9.1 but is not in the glib-2.9.1, so I
think we can assume that it is not in glib-2.2. Hope it helps.
Cheers,
Magnus - who happend to fiddle around with the related sources anyway