9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* bug in seemail, with fix
@ 1996-02-06 12:29 dhog
  0 siblings, 0 replies; only message in thread
From: dhog @ 1996-02-06 12:29 UTC (permalink / 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);






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-02-06 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-06 12:29 bug in seemail, with fix dhog

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).