From owner-svn-doc-head@freebsd.org Sun Mar 27 19:05:32 2016 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59DB7ADF33D; Sun, 27 Mar 2016 19:05:32 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A1601610; Sun, 27 Mar 2016 19:05:32 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2RJ5V30042037; Sun, 27 Mar 2016 19:05:31 GMT (envelope-from jgh@FreeBSD.org) Received: (from jgh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2RJ5Vqr042036; Sun, 27 Mar 2016 19:05:31 GMT (envelope-from jgh@FreeBSD.org) Message-Id: <201603271905.u2RJ5Vqr042036@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jgh set sender to jgh@FreeBSD.org using -f From: Jason Helfman Date: Sun, 27 Mar 2016 19:05:31 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48481 - head/en_US.ISO8859-1/books/porters-handbook/porting-dads X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2016 19:05:32 -0000 Author: jgh Date: Sun Mar 27 19:05:31 2016 New Revision: 48481 URL: https://svnweb.freebsd.org/changeset/doc/48481 Log: - stick to American English spelling of behavior Reported by: wblock Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Sun Mar 27 18:41:27 2016 (r48480) +++ head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Sun Mar 27 19:05:31 2016 (r48481) @@ -656,16 +656,16 @@ exec %%LOCALBASE%%/bin/java -jar %%DATAD cheap in performance-critical applications. In general, try hard to avoid syscalls if possible. - Do not rely on &linux;-specific socket behaviour. In + Do not rely on &linux;-specific socket behavior. In particular, default socket buffer sizes are different (call &man.setsockopt.2; with SO_SNDBUF and SO_RCVBUF, and while &linux;'s &man.send.2; blocks when the socket buffer is full, &os;'s will fail and set ENOBUFS in errno. - If relying on non-standard behaviour is required, + If relying on non-standard behavior is required, encapsulate it properly into a generic API, - do a check for the behaviour in the configure stage, and stop + do a check for the behavior in the configure stage, and stop if it is missing. Check the