From owner-svn-src-head@freebsd.org Mon May 22 23:17:56 2017 Return-Path: Delivered-To: svn-src-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 EDA40D79C0B; Mon, 22 May 2017 23:17:56 +0000 (UTC) (envelope-from pfg@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 B2B9E1D0B; Mon, 22 May 2017 23:17:56 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4MNHtr1063638; Mon, 22 May 2017 23:17:55 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4MNHtwY063637; Mon, 22 May 2017 23:17:55 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201705222317.v4MNHtwY063637@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Mon, 22 May 2017 23:17:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318686 - head/include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 23:17:57 -0000 Author: pfg Date: Mon May 22 23:17:55 2017 New Revision: 318686 URL: https://svnweb.freebsd.org/changeset/base/318686 Log: ndbm.h: Add a comment pointing out our non-compliance with POSIX. Changing it to full conformance breaks the ABI. Reference: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/ndbm.h.html Discussion at: https://reviews.freebsd.org/D10544 Modified: head/include/ndbm.h Modified: head/include/ndbm.h ============================================================================== --- head/include/ndbm.h Mon May 22 22:10:02 2017 (r318685) +++ head/include/ndbm.h Mon May 22 23:17:55 2017 (r318686) @@ -53,7 +53,7 @@ typedef struct { void *dptr; - int dsize; + int dsize; /* XXX Should be size_t according to 1003.1-2008. */ } datum; typedef DB DBM;