From cb666277a7b48223a514683b22eaa54a5bd245a8 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 8 May 2011 21:51:58 +0000 Subject: [PATCH] Revert part of r41389 that injured binary compatibility (rightly pointed out by Axel) * length of utsname members must stay at length of 32 This will work just the same for now. When using a DVCS yields longer revisions, we need to adjust AboutSystem to fetch the full revision directly from the ELF section '_haiku_revision' (as found in libroot.so or libbe.so). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41392 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/sys/utsname.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/posix/sys/utsname.h b/headers/posix/sys/utsname.h index f59196e612..43fd413871 100644 --- a/headers/posix/sys/utsname.h +++ b/headers/posix/sys/utsname.h @@ -6,7 +6,7 @@ #define _SYS_UTSNAME_H -#define _SYS_NAMELEN 128 +#define _SYS_NAMELEN 32 struct utsname { char sysname[_SYS_NAMELEN]; /* Name of the OS */