https://bugs.kde.org/show_bug.cgi?id=369209
--- Comment #4 from Ivo Raisr <iv...@ivosh.net> --- Hi Mark, I get this compilation warning on Solaris: nocwd.c: In function ‘main’: nocwd.c:28:3: warning: missing sentinel in function call [-Wformat=] execlp ("echo", "echo", "Hello", "World", NULL); And indeed, man page for execlp (Linux & Solaris) says it is supposed to be used this way: int execlp(const char *file, const char *arg, ... /* (char *) NULL */); So this simple change fixes the warning: - execlp ("echo", "echo", "Hello", "World", NULL); + execlp ("echo", "echo", "Hello", "World", (char *) NULL); As for the test itself, it cannot simulate invalid cwd on Solaris, because rmdir returns EINVAL: EINVAL The directory to be removed is the current directory, or the final component of path is ".". Is there any other way how to simulate invalid cwd? -- You are receiving this mail because: You are watching all bug changes.