lilypond-devel
[Top][All Lists]
Advanced

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

Re: Looking for contractor


From: Jean Abou Samra
Subject: Re: Looking for contractor
Date: Wed, 26 May 2021 18:14:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1


Le 30/04/2021 à 01:44, Tim Starling a écrit :
The goal, simply stated, is to make safe mode always be enabled and to
make it actually work as documented.

-- Tim Starling

Today, I've learnt something new.

$ cat a.ly
\version "2.22.1"

\include "b.ly"
$ cat b.ly
{ c' }
$ lilypond -dsafe a.ly
GNU LilyPond 2.22.1
Processing `a.ly'
Parsing...
a.ly:3:10: error: include files are not allowed in safe mode
\include
         "b.ly"
fatal error: failed files: "a.ly"


This dates back to

commit 14ee7d1ba5ac5b0e0722ef98b7de223168f5da58
Author: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date:   Tue Jan 2 23:41:38 2007 +0100

    Use be_safe_global for determining whether file inclusion
    is allowed.

Any insights? It would be fantastic if safe mode became the
default, but disallowing include files would make for a
pretty unusable LilyPond then… Am I missing something?

Best,
Jean



reply via email to

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