rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* a patch for /dev/fd users
@ 1992-05-27  1:28 Byron Rakitzis
  0 siblings, 0 replies; only message in thread
From: Byron Rakitzis @ 1992-05-27  1:28 UTC (permalink / raw)
  To: rc

Sorry, I made a typo in the /dev/fd code that I never got a chance to
test. Here's a patch from cks:

*** /tmp/,RCSt1a03978	Tue May 26 19:15:21 1992
--- glom.c	Tue May 26 19:11:55 1992
***************
*** 343,349 ****
  	}
  	name = nprint("/dev/fd/%d", p[n->u[0].i != rFrom]);
  	efd.fd = p[n->u[0].i != rFrom];
! 	except(eFd, efd, &e);
  	close(p[n->u[0].i == rFrom]);
  	ret->w = name;
  	ret->m = NULL;
--- 343,349 ----
  	}
  	name = nprint("/dev/fd/%d", p[n->u[0].i != rFrom]);
  	efd.fd = p[n->u[0].i != rFrom];
! 	except(eFd, efd, e);
  	close(p[n->u[0].i == rFrom]);
  	ret->w = name;
  	ret->m = NULL;



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

only message in thread, other threads:[~1992-05-27  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1992-05-27  1:28 a patch for /dev/fd users Byron Rakitzis

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