/[packages]/cauldron/coreutils/current/SOURCES/coreutils-5.1.0-64bit-fixes.patch
ViewVC logotype

Contents of /cauldron/coreutils/current/SOURCES/coreutils-5.1.0-64bit-fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 128 - (show annotations) (download)
Tue Jan 4 18:25:29 2011 UTC (13 years, 3 months ago) by tmb
File size: 386 byte(s)
imported package coreutils
1 --- coreutils-5.0.91/lib/physmem.c.64bit-fixes 2004-01-08 16:23:09.000000000 +0100
2 +++ coreutils-5.0.91/lib/physmem.c 2004-01-08 16:27:37.000000000 +0100
3 @@ -84,7 +84,7 @@ typedef WINBOOL (WINAPI *PFN_MS_EX) (lME
4 static double
5 physmem_cap (double mem)
6 {
7 - double max = 1 << (sizeof(void *)*8 - 4);
8 + double max = 1L << (sizeof(void *)*8 - 4);
9 return mem > max ? max : mem;
10 }
11

  ViewVC Help
Powered by ViewVC 1.1.30