head	1.2;
access;
symbols
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2002.11.27.15.38.37;	author vanilla;	state dead;
branches;
next	1.1;

1.1
date	2001.06.22.17.41.48;	author keith;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Fix build in -current.

PR:		ports/45710
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
Obtained from:	japanese/kon2-*
@
text
@--- src/child.c.orig	Fri Jun 22 23:14:24 2001
+++ src/child.c	Sat Jun 23 00:48:55 2001
@@@@ -106,7 +106,7 @@@@
 #if defined(linux)
 	       *(ttyname(fileno(errfp))+8));
 #elif defined(__FreeBSD__)
-	       *(ttyname(fileno(errfp))+9));
+	       ttyname(fileno(errfp)) ? *(ttyname(fileno(errfp))+9) : '?');
 #endif
 	fflush(stdout);
 
@


1.1
log
@Fix segmentation violation problem and make b5c works with DEVFS
in -CURRENT.

Also tested under -STABLE.

PR:		ports/28341
@
text
@@

