svn commit: r318686 - head/include

Pedro F. Giffuni pfg at FreeBSD.org
Mon May 22 23:17:57 UTC 2017


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;


More information about the svn-src-all mailing list