Re: posix_spawn

"Kirill A. Korinsky" <[email protected]>
Newsgroups gmane.lisp.gcl.devel
Message-ID <[email protected]>
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 <[email protected]> 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" <[email protected]> writes:
> 
>> Hello,
>> 
>> sure, here it is
> 
> --
> Camm Maguire			     		    [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens."  --  Baha'u'llah
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEE3/KLNtcfWfLw7JxqmNjZhndZIm4FAmWIkWEACgkQmNjZhndZ
Im6mxQ/4+btxXWX8UUQ/qniLcqwAapbVlpKg3cqHiRs1orpA3x1XFaOMIL5PpzCh
fmfJr4tW+5bRSwgfOCYMbUoQIiHWdInLCZjYtQj8gChbB/7/zPj1MFNYwqH2Lc2J
1l0ujCV3IjsqgyukswyxQ6WnrM1nXhA1khcb50FVw1iyk2CNT1nSr6W8fphxiyj5
kCxVEYZp+H8hNCkCa90xCu3q2Hf3o64udVWoQ6rP1p6uhpDmJbJElMXwH86fqimt
j0edcO+zoBtw0hd2RbAEJZtLSWtdc9SHF80b3dbZl1SgkSusTGkkqIIzSf9xnq7o
gJUbi9c1bwgObT3S/c0nfIyKYLVIn+KsH8c2V5hNr49euUoON9Hu9zSb/Ptx3UkF
tt8vMgXxjS9EogfQb3SGdi+fvcerrUVR6ntK1VyROzBbtki1fdb8bHazvOuq0vsx
Akvq/0fg457OvQkr6pt+pPhMuj6krifDPcHFZPXiphhQIiqJkkT8NNXhNGc4pnHU
hCVPJ+60VMCYu5YhwW3ro2B8K6M/qGqVSwLDE497j5nN+8Uz7d2yZGqXqvyjQb66
dvWdLIuvA33QiaEe/QftThbKTrs4yyNpsDdNny5jo3vOB09+D4AS7jN0PhvV/PnR
IB1lq/ZwRw6gwPFZLcNU8kf+BX0+6xQiH3FP+EYaRqI84HA4vw==
=EekB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.