From 9c392e5fdd673b9b310087a8f9b1e33717067002 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Wed, 27 Oct 2010 14:55:34 +0100 Subject: Add gnokii patch to stop apostrophe escaping --- README | 5 +++++ gnokii/gnokii-0.6.29-noapostropheescape.patch | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 gnokii/gnokii-0.6.29-noapostropheescape.patch diff --git a/README b/README index 8d5761e..ef98b97 100644 --- a/README +++ b/README @@ -31,3 +31,8 @@ Sender names are looked up in phonebook.conf, which should be in the format: An example phonebook.conf might be: +447777123456 John +447713987654 Bill + +With a default gnokii (at least with gnokii-0.6.29) apostrophes (') will be +escaped. Removing this behaviour is desirble to blasms and does not cause +any adverse effects (so far). A patch for gnokii to remove the escaping +behaviour is in gnokii/. diff --git a/gnokii/gnokii-0.6.29-noapostropheescape.patch b/gnokii/gnokii-0.6.29-noapostropheescape.patch new file mode 100644 index 0000000..28bfb65 --- /dev/null +++ b/gnokii/gnokii-0.6.29-noapostropheescape.patch @@ -0,0 +1,11 @@ +--- smsd/utils.c 2009-06-23 19:24:59.000000000 +0100 ++++ smsd/utils.c 2010-10-25 22:21:57.342698814 +0100 +@@ -43,7 +43,7 @@ + + while (str->str[i] != '\0') + { +- if (str->str[i] == '\\' || str->str[i] == '\'') ++ if (str->str[i] == '\\') + g_string_insert_c (str, i++, '\\'); + i++; + } -- cgit v1.2.3