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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to