summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwprintf.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-01-17 15:56:38 +0000
committered <ed@FreeBSD.org>2009-01-17 15:56:38 +0000
commitdea83348494de12395a3332e12f74e329a43f33e (patch)
tree9d69c5a34b1fced444d5a58f33276f1b7428c1e0 /lib/libc/stdio/vfwprintf.c
parentdb7a282a152a672ac4731ccf8e513ee15121c970 (diff)
downloadFreeBSD-src-dea83348494de12395a3332e12f74e329a43f33e.zip
FreeBSD-src-dea83348494de12395a3332e12f74e329a43f33e.tar.gz
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>
Diffstat (limited to 'lib/libc/stdio/vfwprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud