# HG changeset patch # User Juanma Barranquero # Date 1232251089 0 # Node ID dd95cb42c0aa97a740352fe17cb37604e3ecc4b4 # Parent 5bc8609f80b525e004b65431f9bbfa11b91d34cc * dbusbind.c (Fdbus_register_signal): * process.c (conv_sockaddr_to_lisp): * w32fns.c (Fw32_battery_status): Use empty_unibyte_string. diff -r 5bc8609f80b5 -r dd95cb42c0aa src/ChangeLog --- a/src/ChangeLog Sun Jan 18 03:28:35 2009 +0000 +++ b/src/ChangeLog Sun Jan 18 03:58:09 2009 +0000 @@ -1,5 +1,9 @@ 2009-01-18 Juanma Barranquero + * dbusbind.c (Fdbus_register_signal): + * process.c (conv_sockaddr_to_lisp): + * w32fns.c (Fw32_battery_status): Use empty_unibyte_string. + * callproc.c (Fgetenv_internal): Doc fix. 2009-01-16 Chong Yidong @@ -24,21 +28,19 @@ 2009-01-14 Jason Rumney * frame.c (x_set_font): Always store a font to the font parameter, - never a fontset. (Bug#1562) + never a fontset. (Bug#1562) 2009-01-14 Kenichi Handa * coding.c (TWO_MORE_BYTES): New macro. - (detect_coding_utf_16): Use TWO_MORE_BYTES instead of - ONE_MORE_BYTE. + (detect_coding_utf_16): Use TWO_MORE_BYTES instead of ONE_MORE_BYTE. 2009-01-13 Chong Yidong * font.c (font_clear_prop): If clearing the family, clear the font width index too. - * xfaces.c (Finternal_set_lisp_face_attribute): Revert last - change. + * xfaces.c (Finternal_set_lisp_face_attribute): Revert last change. 2009-01-12 Juanma Barranquero @@ -82,7 +84,7 @@ 2009-01-09 Jason Rumney * w32font.c (add_font_entity_to_list): Don't report unknown - Windows charset as any unrecognized registry. (Bug#1548) + Windows charset as any unrecognized registry. (Bug#1548) Only report Unicode Plane 2 fonts as unicode-sip. 2009-01-09 Chong Yidong @@ -118,7 +120,7 @@ (Vx_mode_pointer_shape, Vx_window_horizontal_drag_shape) (Vx_hourglass_pointer_shape, Vx_sensitive_text_pointer_shape): Don't declare. - (syms_of_w32fns): Don't define x-pointer-shape variable. (Bug#1485) + (syms_of_w32fns): Don't define x-pointer-shape variable. (Bug#1485) (x_create_tip_frame) [GLYPH_DEBUG]: Enable image debugging code. 2009-01-07 Kenichi Handa diff -r 5bc8609f80b5 -r dd95cb42c0aa src/dbusbind.c --- a/src/dbusbind.c Sun Jan 18 03:28:35 2009 +0000 +++ b/src/dbusbind.c Sun Jan 18 03:58:09 2009 +0000 @@ -1659,7 +1659,7 @@ /* When there is no unique name, we mark it with an empty string. */ if (NILP (uname)) - uname = build_string (""); + uname = empty_unibyte_string; } else uname = service; diff -r 5bc8609f80b5 -r dd95cb42c0aa src/process.c --- a/src/process.c Sun Jan 18 03:28:35 2009 +0000 +++ b/src/process.c Sun Jan 18 03:58:09 2009 +0000 @@ -2271,7 +2271,7 @@ sockets in the UNIX domain are inaccessible; getsockname returns a zero length name. */ if (len < OFFSETOF (struct sockaddr, sa_family) + sizeof (sa->sa_family)) - return build_string (""); + return empty_unibyte_string; switch (sa->sa_family) { diff -r 5bc8609f80b5 -r dd95cb42c0aa src/w32fns.c --- a/src/w32fns.c Sun Jan 18 03:28:35 2009 +0000 +++ b/src/w32fns.c Sun Jan 18 03:58:09 2009 +0000 @@ -6594,7 +6594,7 @@ if (system_status.BatteryFlag & 128) { battery_status = build_string ("N/A"); - battery_status_symbol = build_string (""); + battery_status_symbol = empty_unibyte_string; } else if (system_status.BatteryFlag & 8) { @@ -6616,12 +6616,12 @@ else if (system_status.BatteryFlag & 1) { battery_status = build_string ("high"); - battery_status_symbol = build_string (""); + battery_status_symbol = empty_unibyte_string; } else { battery_status = build_string ("medium"); - battery_status_symbol = build_string (""); + battery_status_symbol = empty_unibyte_string; } if (system_status.BatteryLifePercent > 100)