aboutsummaryrefslogtreecommitdiff
path: root/archivers/libcabinet/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libcabinet/files/patch-ab')
-rw-r--r--archivers/libcabinet/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/libcabinet/files/patch-ab b/archivers/libcabinet/files/patch-ab
new file mode 100644
index 000000000000..b36dca6cc36a
--- /dev/null
+++ b/archivers/libcabinet/files/patch-ab
@@ -0,0 +1,11 @@
+--- bstring.cpp 2000/11/30 14:50:57 1.1
++++ bstring.cpp 2000/11/30 14:57:48
+@@ -150,7 +150,7 @@
+ if(strlen(str) < strlen(s)) // If more memory is needed
+ *this = s; // Use assign function
+ else // If stpcpy can be used
+- stpcpy(str, s); // Copy s into str
++ strcpy(str, s); // Copy s into str
+ }
+
+ return *this; // Return a refrence to this object