Switch haiku-revision from uint32 to string, as that's going to be required soon, no matter if we switch to Git or Mercurial

* increase _SYS_NAMELEN defined in sys/utsname.h to 128 to allow long(ish) revisions
* sHaikuRevision is now a static character array (in both libroot and kernel)
* adjust build tool set_haiku_revision to write the revision as string


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41389 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2011-05-08 20:02:42 +00:00
parent c356b0477f
commit 6250297a08
7 changed files with 24 additions and 23 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#define _SYS_UTSNAME_H
#define _SYS_NAMELEN 32
#define _SYS_NAMELEN 128
struct utsname {
char sysname[_SYS_NAMELEN]; /* Name of the OS */