bug#16364: auto-compile noise can't be avoided by script

2021-05-17 Thread Taylan Kammer
Attached is a patch that adds a command-line switch --silence-auto-compile which disables all diagnostics about auto-compilation except when the auto-compilation of a file fails. This can be used the following way in a script: #!/usr/bin/guile \ --silence-auto-compile --any --other --switches -s

bug#19236: load-compiled procedure leaks memory

2021-05-17 Thread Taylan Kammer
I don't know if it still leaks but Guile's behavior on loading thousands of files seems to have regressed further. I get "Too many root sets" after only about 1900 iterations, after which it aborts. Primitive-load still works fine. -- Taylan

bug#18914: 2.0.11 REPL server listens on 127.0.0.1 but not "localhost"

2021-05-17 Thread Taylan Kammer
I don't have access to the exact system anymore since it's been more than 6 years, but on a Debian with the exact same /etc/hosts I can't reproduce the issue anymore. Since I was apparently the only one who could repro it in the first place, I'm closing it now. :-) Andy wrote: > Could it be that

bug#18835: load-from-path is inconsistent when looking for a compiled version of the source file

2021-05-17 Thread Taylan Kammer
In 2016, Andy wrote: > The logic in load.c is that we only add on .go if the file > doesn't already have an extension. If the file has an extension and > it's not .go, then we don't grovel in the path at all. I guess this is > the wrong thing? > > I am not sure if we can change this in 2.0 or n

bug#15536: Problem with listing of online Guile manuals on gnu.org

2021-05-17 Thread Taylan Kammer
In 2013, Mark wrote: > http://www.gnu.org/software/guile/manual/ includes the following: > > --8<---cut here---start->8--- > PostScript file > (%%PS_GZ_SIZE%%K bytes gzipped). > --8<---cut here---end--->8--- > > where pr

bug#48480: [a-Z] is not a valid regex range in 3.0.7

2021-05-17 Thread Marius Bakke
Taylan Kammer skriver: > On 17.05.2021 17:09, Marius Bakke wrote: >> Hello, >> >> (make-regexp "[a-Z]") fails in Guile 3.0.7 with "Invalid range end". >> >> This is a regression since 3.0.5. >> > > I think that's normal. > > $ grep -E '[a-Z]' > grep: Invalid range end > > You're supposed t

bug#48480: [a-Z] is not a valid regex range in 3.0.7

2021-05-17 Thread dsmich
This *is* the error returned by the underlying C library. For example: #include #include #include int main() { char buf[128] = {0}; regex_t rx = {0}; int status = regcomp(&rx, "[a-Z]", REG_EXTENDED); size_t ret = regerror(status, &rx, buf, sizeof buf); printf("status: %d, ret: %d, buf: [%

bug#48480: [a-Z] is not a valid regex range in 3.0.7

2021-05-17 Thread Taylan Kammer
On 17.05.2021 17:09, Marius Bakke wrote: > Hello, > > (make-regexp "[a-Z]") fails in Guile 3.0.7 with "Invalid range end". > > This is a regression since 3.0.5. > I think that's normal. $ grep -E '[a-Z]' grep: Invalid range end You're supposed to use [a-zA-Z] or better yet, something loca

bug#48480: [a-Z] is not a valid regex range in 3.0.7

2021-05-17 Thread Marius Bakke
Hello, (make-regexp "[a-Z]") fails in Guile 3.0.7 with "Invalid range end". This is a regression since 3.0.5. signature.asc Description: PGP signature