ayttm-commits
[Top][All Lists]
Advanced

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

[Ayttm-commits] CVS: ayttm/src prefs_window.c,1.14,1.15


From: Edward L. Haletky <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src prefs_window.c,1.14,1.15
Date: Wed, 26 Mar 2003 13:24:12 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv4086/src

Modified Files:
        prefs_window.c 
Log Message:


MINGW32 requires a unlink in order to use 'rename' of the prefs.


Index: prefs_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/prefs_window.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- prefs_window.c      26 Mar 2003 16:54:50 -0000      1.14
+++ prefs_window.c      26 Mar 2003 18:24:10 -0000      1.15
@@ -2401,6 +2401,9 @@
      write_module_prefs(fp);
      fprintf(fp, "end\n");
      fclose(fp);
+#ifdef __MINGW32__
+     unlink(file);
+#endif
      rename(buff,file);
      eb_read_prefs();
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]