You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-accessibility/speech-tools/files/speech-tools-2.1-gcc7.patch

21 lines
612 B

--- a/siod/siod.cc
+++ b/siod/siod.cc
@@ -459,7 +459,7 @@ char **siod_variable_generator(char *text,int length)
matches = walloc(char *,siod_llength(lmatches)+1);
for (l=lmatches,i=0; l; l=cdr(l),i++)
matches[i] = wstrdup(PNAME(car(l)));
- matches[i] = '\0';
+ *matches[i] = '\0';
return matches;
}
@@ -498,7 +498,7 @@ char **siod_command_generator (char *text,int length)
matches = walloc(char *,siod_llength(lmatches)+1);
for (l=lmatches,i=0; l; l=cdr(l),i++)
matches[i] = wstrdup(PNAME(car(l)));
- matches[i] = '\0';
+ *matches[i] = '\0';
return matches;
}