emacs-devel
[Top][All Lists]
Advanced

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

Re: master 3d38d1d: Add sqlite3 support to Emacs


From: Po Lu
Subject: Re: master 3d38d1d: Add sqlite3 support to Emacs
Date: Sat, 11 Dec 2021 17:20:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Cc: Lars Ingebrigtsen <larsi@gnus.org>,  emacs-devel@gnu.org, rms@gnu.org
>> Date: Sat, 11 Dec 2021 15:04:35 +0800
>> 
>> Po Lu <luangruo@yahoo.com> writes:
>> 
>> > BTW, this doesn't compile on macOS.  It complains that
>> > `sqlite3_load_extension' is missing.
>> 
>> On a different note, SQLite3 extensions are linked dynamically, and they
>> could be proprietary software.  AFAIU, the SQLite3 developers even
>> provide a few proprietary extensions themselves, including one for
>> database encryption.
>> 
>> So I think we should check that the .so file passed to
>> `sqlite-load-extension' as the `module' argument contains a GPL
>> compatibility symbol before allowing SQLite to load it, similar to what
>> we do with Emacs modules.

> Would you like to prepare a patch to that effect, please?

I would be willing to, but only if someone from a higher authority says
it's necessary, and provides some details: for instance, should the
symbol be named `plugin_is_GPL_compatible', or something like
`plugin_is_free_software' (as SQLite3 is public domain instead of under
the GPL).

Thanks.


reply via email to

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