repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
loplugin:returnconstval in fpicker..reportdesign
[LibreOffice.git]
/
external
/
epm
/
asan.patch.0
blob
b17ac26be171770ede865cd45fedeaa99b864367
1
--- dist.c
2
+++ dist.c
3
@@ -405,7 +405,12 @@
4
for (temp = platform->machine; *temp != '\0'; temp ++)
5
if (*temp == '-' || *temp == '_')
6
{
7
- strcpy(temp, temp + 1);
8
+ char * t2 = temp;
9
+ for (;; ++t2) {
10
+ char c = t2[1];
11
+ t2[0] = c;
12
+ if (c == '\0') break;
13
+ }
14
temp --;
15
}
16
else