summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++;
+ }