Comment 1 for bug 755441

Revision history for this message
Wayne E Robertz (wer6) wrote :

I found the same problem in my Linux distribution (Slackware 12.0), but when I uncommented the two lines it still did not work. Turns out that in /usr/include/seamonkey, there are 3 symbolic links:
    /usr/include/seamonkey/plugin -> .
    /usr/include/seamonkey/nss -> .
    /usr/include/seamonkey/xpcom -> .

 Instead, I added the following to walkFiles after the assignment of fullname:

        if os.path.islink(name):
            linkname = os.readlink(name);
# log.debug("link: %s -> %s" % (fullname,linkname))
            if linkname == ".":
                log.debug("skipping link: %s (.)" % fullname)
                continue

This effectively skips over symbolic links that point to the current root.

This works for me. I've attached a copy of my revised utils.py.