parent
25e48f2275
commit
71eed755e3
@ -0,0 +1,12 @@
|
|||||||
|
diff -up kwallet-5.18.0/src/runtime/kwalletd/main.cpp.rb126681 kwallet-5.18.0/src/runtime/kwalletd/main.cpp
|
||||||
|
--- kwallet-5.18.0/src/runtime/kwalletd/main.cpp.rb126681 2016-01-02 10:52:34.000000000 -0600
|
||||||
|
+++ kwallet-5.18.0/src/runtime/kwalletd/main.cpp 2016-01-08 14:43:51.144687579 -0600
|
||||||
|
@@ -93,7 +93,7 @@ static int waitForEnvironment()
|
||||||
|
char str[BSIZE] = {'\0'};
|
||||||
|
|
||||||
|
int chop = 0;
|
||||||
|
- FILE *s3 = fdopen(s2, "r");
|
||||||
|
+ FILE *s3 = fdopen(dup(s2), "r");
|
||||||
|
while(!feof(s3)) {
|
||||||
|
if (fgets(str, BSIZE, s3)) {
|
||||||
|
chop = strlen(str) - 1;
|
Loading…
Reference in new issue