summaryrefslogtreecommitdiff
path: root/lang/rexx-regutil/files/patch-regini.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rexx-regutil/files/patch-regini.c')
-rw-r--r--lang/rexx-regutil/files/patch-regini.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/rexx-regutil/files/patch-regini.c b/lang/rexx-regutil/files/patch-regini.c
new file mode 100644
index 000000000000..ace11aedcf6a
--- /dev/null
+++ b/lang/rexx-regutil/files/patch-regini.c
@@ -0,0 +1,11 @@
+--- regini.c.orig 2004-07-19 00:09:52 UTC
++++ regini.c
+@@ -1002,7 +1002,7 @@ rxfunc(sysgeterrortext)
+ result->strlength = 0;
+ }
+ #else
+- if (rcs = strerror(rc)) {
++ if ((rcs = strerror(rc))) {
+ result->strlength = strlen(rcs);
+ memcpy(result->strptr, rcs, result->strlength);
+ }