# HG changeset patch # User Stefan Vogel # Date 1333484419 -7200 # Node ID 6b3dea4f8fc971762003b80ea30a10c06413c6ba # Parent 2629f014266b4afa81f15e13895b890a94930c7b changed: #getHostName diff -r 2629f014266b -r 6b3dea4f8fc9 Win32OperatingSystem.st --- a/Win32OperatingSystem.st Tue Apr 03 20:51:08 2012 +0200 +++ b/Win32OperatingSystem.st Tue Apr 03 22:20:19 2012 +0200 @@ -7537,7 +7537,7 @@ %{ /* STACK: 2048 */ WCHAR buffer[512]; - DWORD buffSize = sizeof(buffer); + DWORD buffSize = sizeof(buffer)/sizeof(buffer[0]); // Note: GetComputerNameExA can fail in certain locales! if (GetComputerNameExW(ComputerNameDnsFullyQualified, buffer, &buffSize) == TRUE) { @@ -16425,12 +16425,12 @@ !Win32OperatingSystem class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.434 2012-04-03 17:18:07 stefan Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.435 2012-04-03 20:20:19 stefan Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.434 2012-04-03 17:18:07 stefan Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.435 2012-04-03 20:20:19 stefan Exp $' ! version_SVN