bug#56675: UTF16 encoding adds BOM before every single character

2022-07-20 Thread Jean Abou Samra
With this code: (let ((p (open-output-file "x.txt")))   (set-port-encoding! p "UTF16")   (display "ABC" p)   (close-port p)) the sequence of bytes in the output file x.txt is ['FF', 'FE', '41', '0', 'FF', 'FE', '42', '0', 'FF', 'FE', '43', '0'] As you can see, a BOM is being added before e

bug#56665: Segfault in SRFI-37 when raising ERROR in ARGS-FOLD.

2022-07-20 Thread Ricardo Wurmus
Hi, I got Guile to segfault in srfi-37. Here’s a Guile script: --8<---cut here---start->8--- #!/run/current-system/profile/bin/guile \ --no-auto-compile !# (use-modules (srfi srfi-1) (srfi srfi-37) (ice-9 match)) (define %options (list (option '("greet") #