From: Michael Albinus Date: Tue, 30 Sep 2008 21:05:16 +0000 (+0000) Subject: * dbusbind.c (xd_signature): Use strcat instead of sprintf. X-Git-Tag: emacs-pretest-23.0.90~2701 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ef5099349fdb9075cfde8fbc7bf36f9648e327c;p=emacs.git * dbusbind.c (xd_signature): Use strcat instead of sprintf. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2e9e11f6dd4..8007e948323 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-09-30 Michael Albinus + + * dbusbind.c (xd_signature): Use strcat instead of sprintf. + 2008-09-30 Eli Zaretskii * Makefile.in (MSDOS_SUPPORT): Remove ccl.elc and codepage.elc. diff --git a/src/dbusbind.c b/src/dbusbind.c index 22e64bf0042..7c61de7a4d9 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c @@ -298,7 +298,7 @@ xd_signature (signature, dtype, parent_type, object) strcat (signature, x); elt = CDR_SAFE (XD_NEXT_VALUE (elt)); } - sprintf (signature, "%s%c", signature, DBUS_STRUCT_END_CHAR); + strcat (signature, DBUS_STRUCT_END_CHAR_AS_STRING); break; case DBUS_TYPE_DICT_ENTRY: @@ -335,7 +335,7 @@ xd_signature (signature, dtype, parent_type, object) CAR_SAFE (CDR_SAFE (XD_NEXT_VALUE (elt)))); /* Closing signature. */ - sprintf (signature, "%s%c", signature, DBUS_DICT_ENTRY_END_CHAR); + strcat (signature, DBUS_DICT_ENTRY_END_CHAR_AS_STRING); break; default: