Commit 020a2a81 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Disable it for the moment on windows

parent 17ea098c
Pipeline #39916 failed with stage
in 13 minutes and 9 seconds
...@@ -889,10 +889,13 @@ bool parseUserName( const char* & scursor, const char * const send, ...@@ -889,10 +889,13 @@ bool parseUserName( const char* & scursor, const char * const send,
default: // atom default: // atom
scursor--; // re-set scursor to point to ch again scursor--; // re-set scursor to point to ch again
if ( parseAtom( scursor, send, atom, false /* no 8bit */ ) ) { if ( parseAtom( scursor, send, atom, false /* no 8bit */ ) ) {
//TODO FIXME on windows
#ifndef WIN32
if (getpwnam(atom.constData())) { if (getpwnam(atom.constData())) {
result = QLatin1String(atom); result = QLatin1String(atom);
return true; return true;
} }
#endif
} }
return false; // parseAtom can only fail if the first char is non-atext. return false; // parseAtom can only fail if the first char is non-atext.
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment