guile 2.0 and slib build procedure: cache bug?

2022-03-10 Thread Greg Troxel
Yes, I know guile 2.0 is old. However, in a packaging system there are programs that still need 2.2, some that need 2.0, and then there is lilypond, documented to need 1.8. So in pkgsrc we are trying to cope with 4 versions. For slib, today we have two versions, for 2.0 and 2.2 (just because 3

Re: Question about an error with ports

2022-03-10 Thread Olivier Dion via General Guile related discussions
On Thu, 10 Mar 2022, Zelphir Kaltstahl wrote: > Just one question: Why is get-bytevector-some better than > get-bytevector-n and specifying a number of bytes? I haven't check the implementation details, but I think it's just a question of buffering. `get-bytevector-n` will block just like `get-

Re: Question about an error with ports

2022-03-10 Thread Zelphir Kaltstahl
Hello Olivier! On 3/10/22 16:05, Olivier Dion wrote: On Thu, 10 Mar 2022, Zelphir Kaltstahl wrote: I have the following questions: (1) Is the read-from-write-to procedure useful at all, or is there a better way to get all stuff from an input port and output it to an output port, avoiding pos

Re: Question about an error with ports

2022-03-10 Thread Olivier Dion via General Guile related discussions
On Thu, 10 Mar 2022, Zelphir Kaltstahl wrote: > I have the following questions: > > (1) Is the read-from-write-to procedure useful at all, or is there a better > way > to get all stuff from an input port and output it to an output port, avoiding > possibly large string values? On Linux, there