------- Additional Comments From bugzilla-gcc at thewrittenword dot com  
2004-12-24 01:54 -------
The patch below, somewhat similar to the patch in the original message with the
workaround, does *not* work. The only difference between the two is where "int
i;" is placed.

--- kio/kio/kurlcompletion.cpp.orig     Thu Dec 23 17:56:26 2004
+++ kio/kio/kurlcompletion.cpp  Thu Dec 23 19:24:10 2004
@@ -226,6 +226,7 @@
                // Loop through all directory entries

                struct dirent dirPosition;
+int i;
                struct dirent *dirEntry = 0;
                while ( !terminationRequested() &&
                        ::readdir_r( dir, &dirPosition, &dirEntry ) == 0 &&
dirEntry )


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19144

Reply via email to