projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04af4f5
)
On Windows, unlink before rename. Reported by Tim Evans.
author
Patrick Lam
<plam@MIT.EDU>
Thu, 23 Mar 2006 04:21:10 +0000
(
04:21
+0000)
committer
Patrick Lam
<plam@MIT.EDU>
Thu, 23 Mar 2006 04:21:10 +0000
(
04:21
+0000)
ChangeLog
patch
|
blob
|
history
src/fcatomic.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
4db51b3
..
3d8e30c
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2006-03-22 Patrick Lam <plam@mit.edu>
+ * src/fcatomic.c:
+
+ On Windows, unlink before rename. Reported by Tim Evans.
+
2006-03-15 Patrick Lam <plam@mit.edu>
* fc-lang/ab.orth:
* fc-lang/ibo.orth:
diff --git
a/src/fcatomic.c
b/src/fcatomic.c
index
a8487f3
..
a8b30f8
100644
(file)
--- a/
src/fcatomic.c
+++ b/
src/fcatomic.c
@@
-177,6
+177,9
@@
FcAtomicOrigFile (FcAtomic *atomic)
FcBool
FcAtomicReplaceOrig (FcAtomic *atomic)
{
+#ifdef _WIN32
+ unlink (atomic->file);
+#endif
if (rename ((char *) atomic->new, (char *) atomic->file) < 0)
return FcFalse;
return FcTrue;