lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why does LilyPond delete the PDF first?


From: Wilbert Berendsen
Subject: Why does LilyPond delete the PDF first?
Date: Tue, 10 Jun 2008 23:40:32 +0200
User-agent: KMail/1.9.9

Hi, in scm/backend-library there is (line 114-115):

    (if (access? pdf-name W_OK)
        (delete-file pdf-name))

Why is the PDF deleted (instead of just truncated on write)? It breaks the PDF 
watching feature of KDE, because KDE looses the watch on the file because it 
is deleted. When the file is recreated, it has a different inode number, and 
other attributes on the former PDF are lost as well.

Commenting or deleting the two lines does not seem to do any harm on my 
system, and it fixes greatly the behaviour of KPDF and Okular.

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]