https://bugs.kde.org/show_bug.cgi?id=369209
--- Comment #5 from Mark Wielaard <m...@redhat.com> --- (In reply to Ivo Raisr from comment #4) > So this simple change fixes the warning: > - execlp ("echo", "echo", "Hello", "World", NULL); > + execlp ("echo", "echo", "Hello", "World", (char *) NULL); Thanks, fixed. > 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? Maybe the test doesn't make sense for Solaris if you cannot remove the cwd. Then maybe we should move it under none/tests/linux. Can you remove the cwd of another process? Then we could fork/exec another process in the test, move the cwd and then remove the cwd of its parents process. Then execution of echo (with --trace-children) will get a process without cwd as we want. Or is it possible to trigger any other getcwd failure? Maybe chmod the cwd (or its parent dir) to 000? Or create a directory hierarchy deeper than PATH_MAX? -- You are receiving this mail because: You are watching all bug changes.