Commit 190905ec authored by Ramon Nou's avatar Ramon Nou
Browse files

initial wacomm cwd error (not important) solved

parent 39bfa343
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2470,8 +2470,8 @@ getcwd(char* buffer, size_t size) {
                buffer = (char*) malloc(size);
            else {
                // allocate buffer big enough
                buffer = (char*) malloc(CTX->cwd().size());
                size = CTX->cwd().size();
                buffer = (char*) malloc(CTX->cwd().size() + 1);
                size = CTX->cwd().size() + 1;
            }
        }
        if(CTX->cwd().size() + 1 > size) {