aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2013-12-14 11:57:53 +0200
committerEli Zaretskii2013-12-14 11:57:53 +0200
commit287d70764c83f6054eb2a0ede942eda01c20fcdf (patch)
treedc34b1706c1bf8bc491b94350d70f637e17f71e1 /src
parent6084a28b66e4a3cedf860a58c342f5f60b7685e3 (diff)
downloademacs-287d70764c83f6054eb2a0ede942eda01c20fcdf.tar.gz
emacs-287d70764c83f6054eb2a0ede942eda01c20fcdf.zip
Revert 2 last commits in src/alloc.c.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/alloc.c7
2 files changed, 1 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a9672768b48..df145600556 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,8 +1,5 @@
12013-12-14 Eli Zaretskii <eliz@gnu.org> 12013-12-14 Eli Zaretskii <eliz@gnu.org>
2 2
3 * alloc.c (cleanup_vector): Don't call the font driver's 'close'
4 method if the 'driver' pointer is NULL.
5
6 * fileio.c (Fcopy_file) [WINDOWSNT]: Move most of the 3 * fileio.c (Fcopy_file) [WINDOWSNT]: Move most of the
7 Windows-specific code to w32.c. Change error message text to 4 Windows-specific code to w32.c. Change error message text to
8 match that of Posix platforms. 5 match that of Posix platforms.
diff --git a/src/alloc.c b/src/alloc.c
index 69681111275..aeda42637cd 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2877,12 +2877,7 @@ cleanup_vector (struct Lisp_Vector *vector)
2877 if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_FONT) 2877 if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_FONT)
2878 && ((vector->header.size & PSEUDOVECTOR_SIZE_MASK) 2878 && ((vector->header.size & PSEUDOVECTOR_SIZE_MASK)
2879 == FONT_OBJECT_MAX)) 2879 == FONT_OBJECT_MAX))
2880 { 2880 ((struct font *) vector)->driver->close ((struct font *) vector);
2881 struct font *fnt = (struct font *) vector;
2882
2883 if (fnt->driver)
2884 fnt->driver->close (fnt);
2885 }
2886} 2881}
2887 2882
2888/* Reclaim space used by unmarked vectors. */ 2883/* Reclaim space used by unmarked vectors. */