summaryrefslogtreecommitdiff
path: root/sysutils/pwsafe/files/patch-pwsafe.cpp
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-10-01 08:22:55 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-10-01 08:22:55 +0000
commite8cce9555d2a89e7f988d48cefa77e0e0f9a7c39 (patch)
tree90f34666cae244dff2487350abc6767fcff71b73 /sysutils/pwsafe/files/patch-pwsafe.cpp
parent- Fix with Coin and Abacus (diff)
- Fix the encoding of the '>' xml entity when exporting
- Take maintainership PR: 193709
Notes
Notes: svn path=/head/; revision=369700
Diffstat (limited to 'sysutils/pwsafe/files/patch-pwsafe.cpp')
-rw-r--r--sysutils/pwsafe/files/patch-pwsafe.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/pwsafe/files/patch-pwsafe.cpp b/sysutils/pwsafe/files/patch-pwsafe.cpp
index 537381a0dc03..0892e0a44999 100644
--- a/sysutils/pwsafe/files/patch-pwsafe.cpp
+++ b/sysutils/pwsafe/files/patch-pwsafe.cpp
@@ -1,5 +1,5 @@
---- pwsafe.cpp.orig Wed Oct 12 11:57:28 2005
-+++ pwsafe.cpp Wed Oct 12 12:02:44 2005
+--- pwsafe.cpp.orig 2005-09-30 12:30:56.000000000 +0200
++++ pwsafe.cpp 2014-09-17 15:44:48.000000000 +0200
@@ -1019,7 +1019,12 @@
// seed the random number generator
char rng_filename[1024];
@@ -14,3 +14,12 @@
if (rc) {
if (arg_verbose > 0) printf("rng seeded with %d bytes from %s\n", rc, rng_filename);
} else {
+@@ -2111,7 +2116,7 @@
+ case '"': out += "&quot;"; break;
+ case '&': out += "&amp;"; break;
+ case '<': out += "&lt;"; break;
+- case '>': out += "&gt"; break;
++ case '>': out += "&gt;"; break;
+ case '\\': out += "\\\\"; break;
+ default: out += c;
+ }