From: Michael Albinus Date: Mon, 5 Sep 2011 09:34:18 +0000 (+0200) Subject: * dbusbind.c (xd_signature_cat): Rename from signature_cat. X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~1^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ecfc0a490102d59a6b66a85f12639769a233e4fb;p=emacs.git * dbusbind.c (xd_signature_cat): Rename from signature_cat. --- diff --git a/src/ChangeLog b/src/ChangeLog index 9a512210497..6319c53209c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-09-05 Michael Albinus + + * dbusbind.c (xd_signature_cat): Rename from signature_cat. + 2011-09-04 Paul Eggert sprintf-related integer and memory overflow issues (Bug#9412). diff --git a/src/dbusbind.c b/src/dbusbind.c index 8dac2a6249f..2a38d15873c 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c @@ -262,7 +262,7 @@ xd_symbol_to_dbus_type (Lisp_Object object) /* Append to SIGNATURE a copy of X, making sure SIGNATURE does not become too long. */ static void -signature_cat (char *signature, char const *x) +xd_signature_cat (char *signature, char const *x) { ptrdiff_t siglen = strlen (signature); ptrdiff_t xlen = strlen (x); @@ -401,10 +401,10 @@ xd_signature (char *signature, unsigned int dtype, unsigned int parent_type, Lis { subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt)); xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt))); - signature_cat (signature, x); + xd_signature_cat (signature, x); elt = CDR_SAFE (XD_NEXT_VALUE (elt)); } - signature_cat (signature, DBUS_STRUCT_END_CHAR_AS_STRING); + xd_signature_cat (signature, DBUS_STRUCT_END_CHAR_AS_STRING); break; case DBUS_TYPE_DICT_ENTRY: @@ -425,7 +425,7 @@ xd_signature (char *signature, unsigned int dtype, unsigned int parent_type, Lis elt = XD_NEXT_VALUE (elt); subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt)); xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt))); - signature_cat (signature, x); + xd_signature_cat (signature, x); if (!XD_BASIC_DBUS_TYPE (subtype)) wrong_type_argument (intern ("D-Bus"), CAR_SAFE (XD_NEXT_VALUE (elt))); @@ -434,14 +434,14 @@ xd_signature (char *signature, unsigned int dtype, unsigned int parent_type, Lis elt = CDR_SAFE (XD_NEXT_VALUE (elt)); subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt)); xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt))); - signature_cat (signature, x); + xd_signature_cat (signature, x); if (!NILP (CDR_SAFE (XD_NEXT_VALUE (elt)))) wrong_type_argument (intern ("D-Bus"), CAR_SAFE (CDR_SAFE (XD_NEXT_VALUE (elt)))); /* Closing signature. */ - signature_cat (signature, DBUS_DICT_ENTRY_END_CHAR_AS_STRING); + xd_signature_cat (signature, DBUS_DICT_ENTRY_END_CHAR_AS_STRING); break; default: