[Top][All Lists]

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

Re: Testers wanted

From: Knut Petersen
Subject: Re: Testers wanted
Date: Wed, 14 Jul 2021 19:10:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2

No such file or directory: "/dev/null"

Background: ly:make-paper-outputter assumes that every backend will
need an output file,  I thought choosing /dev/null would be ok as
(most of) the output files are  created, written and closed directly
by the cairo library.
At least the calling convention appears only to assume that every
backend will need an output _port_.  %make-void-port may fit the bill
though I haven't checked.

Yes, thanks, it does fill the need, at least on linux-64. Line 262 of should be changed to (let* ((port (%make-void-port "w")).

New version in context of lines 261..263:

(define-public (output-framework basename book scopes fields)
  (let* ((port (%make-void-port "w"))
         (outputter (ly:make-paper-outputter port stencil-dispatch-alist))


reply via email to

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