9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dhog@plan9.cs.su.oz.au dhog@plan9.cs.su.oz.au
Subject: bug in seemail, with fix
Date: Tue,  6 Feb 1996 07:29:26 -0500	[thread overview]
Message-ID: <19960206122926.UGNff1gRydAzyi8HZe277K4DRqdtGNP1yjdwc9AjxiU@z> (raw)

There is a file descriptor leak in seemail, which causes there to
be a complete absence of any faces after we run out of file
descriptors.  The names and times still appear, but the area where
the face should be is blank.

Here is a diff which plugs the leak:

diff /n/dump/1996/0206/sys/src/cmd/seemail/io.c .
109c109,110
< 		if(clean && (strcmp(&buf[1], machine) == 0))
---
> 		if(clean && (strcmp(&buf[1], machine) == 0)) {
> 			Bterm(mf);
110a112
> 		}
125a128
> 			Bterm(mf);






                 reply	other threads:[~1996-02-06 12:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19960206122926.UGNff1gRydAzyi8HZe277K4DRqdtGNP1yjdwc9AjxiU@z \
    --to=dhog@plan9.cs.su.oz.au \
    /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).