Package: openoffice.org Version: 2.0.4.dfsg.2-7etch1 Severity: normal I'm developing a macro in python, which lives in a Subversion working copy. There is a symlink in ~/.openoffice.org2/user/Scripts/python that has the real script as the target.
When I alter the script, OO does not notice unless I quit and reload it. >From looking at /usr/lib/openoffice/program/pythonscript.py, it seems that there is some logic that tries to reload a script if its file modification date changes; in order to determine the modification date of the script, com.sun.star.ucb.SimpleFileAcess.getDateTimeModified is called. I noticed today that changing the mtime of the script's symlink makes OO reload the script. I used strace to confirm that getDateTimeModified is trying to be too clever, and is calling lstat when it should just be calling stat. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (540, 'stable'), (520, 'testing'), (510, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.21-1-k7 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages openoffice.org depends on: ii openoffice.org-base 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - data ii openoffice.org-calc 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - spre ii openoffice.org-core 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite archit ii openoffice.org-draw 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - draw ii openoffice.org-impre 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - pres ii openoffice.org-java- 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite Java s ii openoffice.org-math 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - equa ii openoffice.org-write 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - word openoffice.org recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]