aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2009-01-18 03:58:09 +0000
committerJuanma Barranquero2009-01-18 03:58:09 +0000
commitfff4e459907a2594a87d001f199c9d377ffa5a55 (patch)
tree0d9a3034dc340d3f8692c28ed5046a4d9379dc64
parentacf20901186d76a6d5db0008fba8d1afa48c5671 (diff)
downloademacs-fff4e459907a2594a87d001f199c9d377ffa5a55.tar.gz
emacs-fff4e459907a2594a87d001f199c9d377ffa5a55.zip
* dbusbind.c (Fdbus_register_signal):
* process.c (conv_sockaddr_to_lisp): * w32fns.c (Fw32_battery_status): Use empty_unibyte_string.
-rw-r--r--src/ChangeLog16
-rw-r--r--src/dbusbind.c2
-rw-r--r--src/process.c2
-rw-r--r--src/w32fns.c6
4 files changed, 14 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c9d8f444453..91714a83273 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12009-01-18 Juanma Barranquero <lekktu@gmail.com> 12009-01-18 Juanma Barranquero <lekktu@gmail.com>
2 2
3 * dbusbind.c (Fdbus_register_signal):
4 * process.c (conv_sockaddr_to_lisp):
5 * w32fns.c (Fw32_battery_status): Use empty_unibyte_string.
6
3 * callproc.c (Fgetenv_internal): Doc fix. 7 * callproc.c (Fgetenv_internal): Doc fix.
4 8
52009-01-16 Chong Yidong <cyd@stupidchicken.com> 92009-01-16 Chong Yidong <cyd@stupidchicken.com>
@@ -24,21 +28,19 @@
242009-01-14 Jason Rumney <jasonr@gnu.org> 282009-01-14 Jason Rumney <jasonr@gnu.org>
25 29
26 * frame.c (x_set_font): Always store a font to the font parameter, 30 * frame.c (x_set_font): Always store a font to the font parameter,
27 never a fontset. (Bug#1562) 31 never a fontset. (Bug#1562)
28 32
292009-01-14 Kenichi Handa <handa@m17n.org> 332009-01-14 Kenichi Handa <handa@m17n.org>
30 34
31 * coding.c (TWO_MORE_BYTES): New macro. 35 * coding.c (TWO_MORE_BYTES): New macro.
32 (detect_coding_utf_16): Use TWO_MORE_BYTES instead of 36 (detect_coding_utf_16): Use TWO_MORE_BYTES instead of ONE_MORE_BYTE.
33 ONE_MORE_BYTE.
34 37
352009-01-13 Chong Yidong <cyd@stupidchicken.com> 382009-01-13 Chong Yidong <cyd@stupidchicken.com>
36 39
37 * font.c (font_clear_prop): If clearing the family, clear the font 40 * font.c (font_clear_prop): If clearing the family, clear the font
38 width index too. 41 width index too.
39 42
40 * xfaces.c (Finternal_set_lisp_face_attribute): Revert last 43 * xfaces.c (Finternal_set_lisp_face_attribute): Revert last change.
41 change.
42 44
432009-01-12 Juanma Barranquero <lekktu@gmail.com> 452009-01-12 Juanma Barranquero <lekktu@gmail.com>
44 46
@@ -82,7 +84,7 @@
822009-01-09 Jason Rumney <jasonr@gnu.org> 842009-01-09 Jason Rumney <jasonr@gnu.org>
83 85
84 * w32font.c (add_font_entity_to_list): Don't report unknown 86 * w32font.c (add_font_entity_to_list): Don't report unknown
85 Windows charset as any unrecognized registry. (Bug#1548) 87 Windows charset as any unrecognized registry. (Bug#1548)
86 Only report Unicode Plane 2 fonts as unicode-sip. 88 Only report Unicode Plane 2 fonts as unicode-sip.
87 89
882009-01-09 Chong Yidong <cyd@stupidchicken.com> 902009-01-09 Chong Yidong <cyd@stupidchicken.com>
@@ -118,7 +120,7 @@
118 (Vx_mode_pointer_shape, Vx_window_horizontal_drag_shape) 120 (Vx_mode_pointer_shape, Vx_window_horizontal_drag_shape)
119 (Vx_hourglass_pointer_shape, Vx_sensitive_text_pointer_shape): 121 (Vx_hourglass_pointer_shape, Vx_sensitive_text_pointer_shape):
120 Don't declare. 122 Don't declare.
121 (syms_of_w32fns): Don't define x-pointer-shape variable. (Bug#1485) 123 (syms_of_w32fns): Don't define x-pointer-shape variable. (Bug#1485)
122 (x_create_tip_frame) [GLYPH_DEBUG]: Enable image debugging code. 124 (x_create_tip_frame) [GLYPH_DEBUG]: Enable image debugging code.
123 125
1242009-01-07 Kenichi Handa <handa@m17n.org> 1262009-01-07 Kenichi Handa <handa@m17n.org>
diff --git a/src/dbusbind.c b/src/dbusbind.c
index a6a7ef706f6..6e97f168ea4 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -1659,7 +1659,7 @@ usage: (dbus-register-signal BUS SERVICE PATH INTERFACE SIGNAL HANDLER &rest ARG
1659 /* When there is no unique name, we mark it with an empty 1659 /* When there is no unique name, we mark it with an empty
1660 string. */ 1660 string. */
1661 if (NILP (uname)) 1661 if (NILP (uname))
1662 uname = build_string (""); 1662 uname = empty_unibyte_string;
1663 } 1663 }
1664 else 1664 else
1665 uname = service; 1665 uname = service;
diff --git a/src/process.c b/src/process.c
index b3271d3a2e9..b6b4d3478a1 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2271,7 +2271,7 @@ conv_sockaddr_to_lisp (sa, len)
2271 sockets in the UNIX domain are inaccessible; getsockname returns 2271 sockets in the UNIX domain are inaccessible; getsockname returns
2272 a zero length name. */ 2272 a zero length name. */
2273 if (len < OFFSETOF (struct sockaddr, sa_family) + sizeof (sa->sa_family)) 2273 if (len < OFFSETOF (struct sockaddr, sa_family) + sizeof (sa->sa_family))
2274 return build_string (""); 2274 return empty_unibyte_string;
2275 2275
2276 switch (sa->sa_family) 2276 switch (sa->sa_family)
2277 { 2277 {
diff --git a/src/w32fns.c b/src/w32fns.c
index 14caa4662df..70964cb8667 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -6594,7 +6594,7 @@ The following %-sequences are provided:
6594 if (system_status.BatteryFlag & 128) 6594 if (system_status.BatteryFlag & 128)
6595 { 6595 {
6596 battery_status = build_string ("N/A"); 6596 battery_status = build_string ("N/A");
6597 battery_status_symbol = build_string (""); 6597 battery_status_symbol = empty_unibyte_string;
6598 } 6598 }
6599 else if (system_status.BatteryFlag & 8) 6599 else if (system_status.BatteryFlag & 8)
6600 { 6600 {
@@ -6616,12 +6616,12 @@ The following %-sequences are provided:
6616 else if (system_status.BatteryFlag & 1) 6616 else if (system_status.BatteryFlag & 1)
6617 { 6617 {
6618 battery_status = build_string ("high"); 6618 battery_status = build_string ("high");
6619 battery_status_symbol = build_string (""); 6619 battery_status_symbol = empty_unibyte_string;
6620 } 6620 }
6621 else 6621 else
6622 { 6622 {
6623 battery_status = build_string ("medium"); 6623 battery_status = build_string ("medium");
6624 battery_status_symbol = build_string (""); 6624 battery_status_symbol = empty_unibyte_string;
6625 } 6625 }
6626 6626
6627 if (system_status.BatteryLifePercent > 100) 6627 if (system_status.BatteryLifePercent > 100)