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
@@ -19,7 +19,7 @@ extern "C" {
status_t system_info_init(struct kernel_args *args);
status_t system_notifications_init();
uint32 get_haiku_revision(void);
const char* get_haiku_revision(void);
status_t _user_get_system_info(system_info *userInfo, size_t size);
status_t _user_get_system_info_etc(int32 id, void *buffer,