aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog14
-rw-r--r--src/dispextern.h6
-rw-r--r--src/emacs.c2
-rw-r--r--src/w32.c1
4 files changed, 20 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 37e6d20eb83..f0ec092c068 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,17 @@
12015-02-26 Eli Zaretskii <eliz@gnu.org>
2
3 * dispextern.h (FACE_FOR_CHAR): Fix the commentary.
4
52015-02-26 Hans Wennborg <hwennborg@google.com> (tiny change)
6
7 * emacs.c (decode_env_path): Add parentheses around ternary
8 operator to increase readability and pacify compiler warnings.
9
102015-02-26 Eli Zaretskii <eliz@gnu.org>
11
12 * w32.c (sys_readdir): Map ERROR_NOT_READY (as in "device not
13 ready") to ENOENT.
14
12015-02-26 Paul Eggert <eggert@cs.ucla.edu> 152015-02-26 Paul Eggert <eggert@cs.ucla.edu>
2 16
3 * xfns.c (x_real_pos_and_offsets): Fix pointer signedness. 17 * xfns.c (x_real_pos_and_offsets): Fix pointer signedness.
diff --git a/src/dispextern.h b/src/dispextern.h
index 5f730df514b..329572eda22 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1810,8 +1810,10 @@ struct face_cache
1810 ((FACE) == (FACE)->ascii_face) 1810 ((FACE) == (FACE)->ascii_face)
1811 1811
1812/* Return the id of the realized face on frame F that is like the face 1812/* Return the id of the realized face on frame F that is like the face
1813 with id ID but is suitable for displaying character CHAR. 1813 FACE, but is suitable for displaying character CHAR at buffer or
1814 This macro is only meaningful for multibyte character CHAR. */ 1814 string position POS. OBJECT is the string object, or nil for
1815 buffer. This macro is only meaningful for multibyte character
1816 CHAR. */
1815 1817
1816#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT) \ 1818#define FACE_FOR_CHAR(F, FACE, CHAR, POS, OBJECT) \
1817 face_for_char ((F), (FACE), (CHAR), (POS), (OBJECT)) 1819 face_for_char ((F), (FACE), (CHAR), (POS), (OBJECT))
diff --git a/src/emacs.c b/src/emacs.c
index c2b698ba50b..cb0c8417794 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2247,7 +2247,7 @@ decode_env_path (const char *evarname, const char *defalt, bool empty)
2247 p = strchr (path, SEPCHAR); 2247 p = strchr (path, SEPCHAR);
2248 if (!p) 2248 if (!p)
2249 p = path + strlen (path); 2249 p = path + strlen (path);
2250 element = (p - path ? make_unibyte_string (path, p - path) 2250 element = ((p - path) ? make_unibyte_string (path, p - path)
2251 : empty_element); 2251 : empty_element);
2252 if (! NILP (element)) 2252 if (! NILP (element))
2253 { 2253 {
diff --git a/src/w32.c b/src/w32.c
index 90096689776..547db0f6dd9 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -3455,6 +3455,7 @@ sys_readdir (DIR *dirp)
3455 break; 3455 break;
3456 case ERROR_PATH_NOT_FOUND: 3456 case ERROR_PATH_NOT_FOUND:
3457 case ERROR_INVALID_DRIVE: 3457 case ERROR_INVALID_DRIVE:
3458 case ERROR_NOT_READY:
3458 case ERROR_BAD_NETPATH: 3459 case ERROR_BAD_NETPATH:
3459 case ERROR_BAD_NET_NAME: 3460 case ERROR_BAD_NET_NAME:
3460 errno = ENOENT; 3461 errno = ENOENT;