Changeset View
Changeset View
Standalone View
Standalone View
src/ioslaves/file/file.cpp
Context not available. | |||||
33 | 33 | | |||
---|---|---|---|---|---|
34 | #include "kioglobal_p.h" | 34 | #include "kioglobal_p.h" | ||
35 | 35 | | |||
36 | #ifdef Q_OS_UNIX | ||||
37 | #include "legacycodec.h" | ||||
38 | #endif | ||||
39 | | ||||
36 | #include <assert.h> | 40 | #include <assert.h> | ||
37 | #include <errno.h> | 41 | #include <errno.h> | ||
38 | #ifdef Q_OS_WIN | 42 | #ifdef Q_OS_WIN | ||
Context not available. | |||||
102 | exit(-1); | 106 | exit(-1); | ||
103 | } | 107 | } | ||
104 | 108 | | |||
109 | #ifdef Q_OS_UNIX | ||||
110 | LegacyCodec codec; | ||||
111 | #endif | ||||
112 | | ||||
105 | FileProtocol slave(argv[2], argv[3]); | 113 | FileProtocol slave(argv[2], argv[3]); | ||
106 | 114 | | |||
107 | // Make sure the first kDebug is after the slave ctor (which sets a SIGPIPE handler) | 115 | // Make sure the first kDebug is after the slave ctor (which sets a SIGPIPE handler) | ||
Context not available. |