[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17003] trunk/blender/source/blender/ blenlib/intern/fileops.c: use BLI_strcasecmp instead of strcasecmp so it actually links under Windows
Erwin Coumans
blender at erwincoumans.com
Fri Oct 10 07:17:47 CEST 2008
Revision: 17003
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17003
Author: erwin
Date: 2008-10-10 07:17:47 +0200 (Fri, 10 Oct 2008)
Log Message:
-----------
use BLI_strcasecmp instead of strcasecmp so it actually links under Windows
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/fileops.c
Modified: trunk/blender/source/blender/blenlib/intern/fileops.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/fileops.c 2008-10-10 05:12:57 UTC (rev 17002)
+++ trunk/blender/source/blender/blenlib/intern/fileops.c 2008-10-10 05:17:47 UTC (rev 17003)
@@ -304,7 +304,7 @@
if (!BLI_exists(from)) return 0;
/* make sure the filenames are different (case insensitive) before removing */
- if (BLI_exists(to) && strcasecmp(from, to))
+ if (BLI_exists(to) && BLI_strcasecmp(from, to))
if(BLI_delete(to, 0, 0)) return 1;
return rename(from, to);
More information about the Bf-blender-cvs
mailing list