* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
+#ifdef HAVE_UMASK
+# include <sys/types.h>
+# include <sys/stat.h>
+#endif /* HAVE_UMASK */
+
#include <QString>
#include "corenetwork.h"
#include "oidentdconfiggenerator.h"
OidentdConfigGenerator::OidentdConfigGenerator(QObject *parent) :
- QObject(parent),
- _initialized(false)
+ QObject(parent)
{
if (!_initialized)
init();
// the ability to bind to an IP on client sockets.
_quasselStanzaTemplate = QString("lport %1 { reply \"%2\" } #%3\n");
- _quasselStanzaRx = QRegExp(QString("^lport .* \\{ .* \\} #%1\\r?\\n").arg(_configTag));
+ _quasselStanzaRx = QRegExp(QString(R"(^lport .* \{ .* \} #%1\r?\n)").arg(_configTag));
// initially remove all Quassel stanzas that might be present
if (parseConfig(false) && writeConfig())