Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2017 23:17:55 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318686 - head/include
Message-ID:  <201705222317.v4MNHtwY063637@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705222317.v4MNHtwY063637>