9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] [PATCH] [drawterm] Add devenv and fix exit status for -G flag
Date: Fri, 19 Jun 2020 22:58:22 +0200	[thread overview]
Message-ID: <B1227DD084D764CD065892AC93516982@felloff.net> (raw)
In-Reply-To: <20200619173106.GA576387@delta.localdomain>

just tried to build on windows, and "environ" appears to be there so
everything compiles just fine.

i think we can handle the exitstatus outside of exportfs() just using
atexit() and our libc getenv().

before launching exportfs, we remove /env/rstatus. plan9 getenv()
returns nil when the file doesnt exist in env. so we can distinguish
if the exit status was set by the remote process or not.



  parent reply	other threads:[~2020-06-19 20:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 17:31 Fazlul Shahriar
2020-06-19 19:17 ` [9front] " cinap_lenrek
2020-06-19 20:58 ` cinap_lenrek [this message]
2020-06-19 21:22 ` cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B1227DD084D764CD065892AC93516982@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).