summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-10-27 14:55:34 +0100
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-10-27 14:55:34 +0100
commit9c392e5fdd673b9b310087a8f9b1e33717067002 (patch)
tree6d9bd72d184cf25778bf4dc654fa0437da487d80
parent67caf9d07c3ad05d66a6ded60440e125bd29191c (diff)
Add gnokii patch to stop apostrophe escaping
-rw-r--r--README5
-rw-r--r--gnokii/gnokii-0.6.29-noapostropheescape.patch11
2 files changed, 16 insertions, 0 deletions
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++;
+ }