[haiku-commits] Re: r41389 - in haiku/trunk: headers/posix/sys headers/private/kernel src/system/kernel src/system/kernel/debug src/system/libroot/posix/sys ...

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 09 May 2011 00:00:06 +0200

On Sun, 08 May 2011 22:39:53 +0200 "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> zooey@xxxxxxxxxxxxxxx wrote:
> > * increase _SYS_NAMELEN defined in sys/utsname.h to 128 to allow 
> > long(ish) revisions
> 
> If that file/structure was already available in BeOS, this would break 
> binary compatibility, just in case you haven't checked.

It did already exist in BeOS. A compatibility symbol version for uname() is 
required. Cf. *stat() for reference (though, since they are globally visible, 
function names prefixed with two underscores should be preferred). Also, a new 
version needs to be added to libroot's version script 
(src/system/libroot/libroot_versions).

CU, Ingo

Other related posts: