9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] screenlock
Date: Sun, 18 Jul 2021 19:45:52 +0200	[thread overview]
Message-ID: <E34DD43A58FEBD4E0BB840C7C06268DA@felloff.net> (raw)
In-Reply-To: <CABB-WO_z5fmN2zpyyLMdW1Visgs_15FcShv5Wsj_vVkZUuYvhQ@mail.gmail.com>

+		n = read(fd, buf, sizeof buf);
+		if(n > 48)
+			if(strstr(buf+48, "notcurrent"))
+				write(fd, "current", 7);

thats wrong because the read wont return you a '\0' terminated string.

also, we'r out of time for the release build. i just generated new
images and already seeding..

--
cinap

  reply	other threads:[~2021-07-18 18:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18 16:04 Stuart Morrow
2021-07-18 17:45 ` cinap_lenrek [this message]
2021-07-18 19:31   ` Stuart Morrow
2021-07-18 20:23     ` 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=E34DD43A58FEBD4E0BB840C7C06268DA@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).