Line 0
Link Here
|
|
|
1 |
--- xkbcomp.c.orig 2018-06-07 23:17:28 UTC |
2 |
+++ xkbcomp.c |
3 |
@@ -225,7 +225,7 @@ parseArgs(int argc, char *argv[]) |
4 |
for (i = 1; i < argc; i++) |
5 |
{ |
6 |
int itmp; |
7 |
- if ((argv[i][0] != '-') || (uStringEqual(argv[i], "-"))) |
8 |
+ if ((argv[i][0] != '-') || (strcmp(argv[i], "-") == 0)) |
9 |
{ |
10 |
if (!xkblist) |
11 |
{ |
12 |
@@ -651,7 +651,7 @@ parseArgs(int argc, char *argv[]) |
13 |
ERROR("No input file specified\n"); |
14 |
return False; |
15 |
} |
16 |
- else if (uStringEqual(inputFile, "-")) |
17 |
+ else if (strcmp(inputFile, "-") == 0) |
18 |
{ |
19 |
inputFormat = INPUT_XKB; |
20 |
} |
21 |
@@ -755,7 +755,7 @@ parseArgs(int argc, char *argv[]) |
22 |
return False; |
23 |
} |
24 |
} |
25 |
- else if ((!outputFile) && (inputFile) && uStringEqual(inputFile, "-")) |
26 |
+ else if ((!outputFile) && (inputFile) && (strcmp(inputFile, "-") == 0)) |
27 |
{ |
28 |
int len = strlen("stdin") + strlen(fileTypeExt[outputFormat]) + 2; |
29 |
outputFile = uTypedCalloc(len, char); |
30 |
@@ -930,7 +930,7 @@ main(int argc, char *argv[]) |
31 |
} |
32 |
if (inputFile != NULL) |
33 |
{ |
34 |
- if (uStringEqual(inputFile, "-")) |
35 |
+ if (strcmp(inputFile, "-") == 0) |
36 |
{ |
37 |
file = stdin; |
38 |
inputFile = "stdin"; |
39 |
@@ -1132,7 +1132,7 @@ main(int argc, char *argv[]) |
40 |
} |
41 |
if (outputFile != NULL) |
42 |
{ |
43 |
- if (uStringEqual(outputFile, "-")) |
44 |
+ if (strcmp(outputFile, "-") == 0) |
45 |
outputFile = "stdout"; |
46 |
else |
47 |
{ |