owner-latex2html> 1) l2h generates a directory filename/l2h####,
    owner-latex2html> where #### seems to be a process ID number.
    owner-latex2html> This seems to be a temporary directory for
    owner-latex2html> holding images.  Is this supposed to be removed
    owner-latex2html> at the end of the run?

As far as I understand the problem, it is caused by opening $TMP in
one module of l2h and trying to clean it up in another. I.e., it is a
matter of scope. Different os, treat the problem differently. Most
unix dialects allow to unlink a file handle while the filehandle is
still in use. They quietly wait until the filehandle is closed, and
unlink the file afterwards. However, quite a few os are not so
clever, and complain right away.

AFAIK, the problem could only be solved if $TMP becomes a local
variable to a subroutine which opens and closes $TMP, and calls all
intermediate steps inbetween. After leaving this subroutine another
subroutine could clean up. But I fear that this problem will persist,
unless l2h is redesigned from scratch......(using all these wonderfull
features of perl like prototyping, object orientation......


        Uli

-- 
        Uli Wortmann
        Dept. of Geology       Fax (Switzerland) (1) 632  1080
        ETH-Zuerich            Fon                        3694
        Visit the SPOC-team at http://www.spoc.ethz.ch


Reply via email to