Date: Sat, 17 Jan 2009 15:56:38 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/libexec/comsat comsat.c Message-ID: <200901171556.n0HFugu8085288@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2009-01-17 15:56:38 UTC
FreeBSD src repository
Modified files:
libexec/comsat comsat.c
Log:
SVN rev 187366 on 2009-01-17 15:56:38Z by ed
Fix handling of pts(4) device names in comsat(8). Also catch fork() errors.
Pseudo-terminals allocated with posix_openpt(2) will have more slashes
in their path names than comsat(8) allows, so allow slashes when the
character device name starts with "pts/".
This patch is loosely based on NetBSD's changes, revision 1.33. Because
it also included the changes to fork(), I imported them here as well.
Maybe we could import even more fixes from the other BSD's?
Original commit message from the NetBSD folks:
PR/30170: Markus W Kilbinger: src/libexec/comsat complains
about: '/' in "/dev/pts/1"
Reported by: Robert Huff <roberthuff rcn com>
Revision Changes Path
1.18 +17 -6 src/libexec/comsat/comsat.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901171556.n0HFugu8085288>
