gcl-devel
[Top][All Lists]
Advanced

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

Re: posix_spawn


From: Camm Maguire
Subject: Re: posix_spawn
Date: Sun, 24 Dec 2023 13:51:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

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



reply via email to

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