gcl-devel
[Top][All Lists]
Advanced

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

Re: posix_spawn


From: Kirill A. Korinsky
Subject: Re: posix_spawn
Date: Sun, 24 Dec 2023 21:15:29 +0100

I have wired news: after backporting vfork -> posix_spawn in vsystem to 2.6.14 I can't reproduce this error at all.

Before I conclude that it's gone I'd like to build it a few more times.
-- 
wbr, Kirill

On 24. Dec 2023, at 19:51, Camm Maguire <camm@maguirefamily.org> wrote:

Greetings! Could you please run with this and leave saving_system alone
and let me know the results?

Take care,

modified   gcl/o/gbc.c
@@ -1091,8 +1091,11 @@ GBC(enum type t) {
      if (tm->tm_type==v->type)
for (x=pagetochar(page(v)),j=tm->tm_nppage;j--;x+=tm->tm_size) {
 object o=x;
-  if (type_of(o)==t_stream && !is_free(o) && o->sm.sm_fp && o->sm.sm_fp!=stdin && o->sm.sm_fp!=stdout && o->sm.sm_fp!=stderr)
+  if (type_of(o)==t_stream && !is_free(o) && o->sm.sm_fp && o->sm.sm_fp!=stdin && o->sm.sm_fp!=stdout && o->sm.sm_fp!=stderr) {
+    printf("Closing %p, %p %p %p %p %p %p\n",o->sm.sm_fp,stdin,__stdinp,stdout,__stdoutp,stderr,__stderrp);
+    fflush(stdout);
   close_stream(o);
+  }
}

    gc_time = -1;




"Kirill A. Korinsky" <kirill@korins.ky> writes:

Hello,

sure, here it is

--
Camm Maguire         camm@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

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