rlb pushed a commit to branch main in repository guile. commit e1a6622b3b5ce877477a16644788e2b9eb58de83 Author: Rob Browning <r...@defaultvalue.org> AuthorDate: Thu Feb 20 20:55:36 2025 -0600
Note setlocale raises a system-error when locale doesn't exist doc/ref/posix.texi: note setlocale raises a system-error when locale doesn't exist Thanks to Francesco P. Lovergine for suggesting the addition (https://bugs.debian.org/1078681). --- doc/ref/posix.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index d4a14ec24..08d939b9f 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -3822,6 +3822,10 @@ process. @xref{i18n Introduction, locale objects and @code{make-locale}}, for a thread-safe alternative. @end deffn +A @code{system-error} exception (@pxref{Handling Errors}) is raised by +@code{setlocale} when @var{locale-name} does not match any of the +locales compiled on the system. + @node Encryption @subsection Encryption @cindex encryption