Date: Sun, 11 Aug 2019 22:36:59 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r508693 - in branches/2019Q3/games: openbor/files openbor3979/files openbor4432/files Message-ID: <201908112236.x7BMaxgk033617@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Aug 11 22:36:58 2019 New Revision: 508693 URL: https://svnweb.freebsd.org/changeset/ports/508693 Log: MFH: r508692 games/openbor: untabify after r508689 Approved by: ports-secteam blanket Modified: branches/2019Q3/games/openbor/files/patch-source_ramlib_ram.c branches/2019Q3/games/openbor3979/files/patch-source_ramlib_ram.c branches/2019Q3/games/openbor4432/files/patch-source_ramlib_ram.c Directory Properties: branches/2019Q3/ (props changed) Modified: branches/2019Q3/games/openbor/files/patch-source_ramlib_ram.c ============================================================================== --- branches/2019Q3/games/openbor/files/patch-source_ramlib_ram.c Sun Aug 11 22:36:31 2019 (r508692) +++ branches/2019Q3/games/openbor/files/patch-source_ramlib_ram.c Sun Aug 11 22:36:58 2019 (r508693) @@ -60,7 +60,7 @@ Implement Linux-like memory stats for BSDs + return 0; + } + return (u64)(vms.v_free_count + vms.v_inactive_count -+ + vms.v_cache_count) * getpagesize() / byte_size; ++ + vms.v_cache_count) * getpagesize() / byte_size; +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + u_int v_free_count = 0, v_inactive_count = 0, v_cache_count = 0; + size_t sz = sizeof(u_int); @@ -71,7 +71,7 @@ Implement Linux-like memory stats for BSDs + sysctlbyname("vm.stats.vm.v_cache_count", + &v_cache_count, &sz, NULL, 0); + return (u64)(v_free_count + v_inactive_count -+ + v_cache_count) * getpagesize() / byte_size; ++ + v_cache_count) * getpagesize() / byte_size; +#elif defined(__NetBSD__) || defined(__OpenBSD__) +# if defined(__NetBSD__) +#undef VM_UVMEXP @@ -93,7 +93,7 @@ Implement Linux-like memory stats for BSDs + return 0; + } + return (u64)(uvmexp.free + uvmexp.inactive + uvmexp.filepages -+ + uvmexp.execpages) * uvmexp.pagesize / byte_size; ++ + uvmexp.execpages) * uvmexp.pagesize / byte_size; #elif LINUX struct sysinfo info; sysinfo(&info); Modified: branches/2019Q3/games/openbor3979/files/patch-source_ramlib_ram.c ============================================================================== --- branches/2019Q3/games/openbor3979/files/patch-source_ramlib_ram.c Sun Aug 11 22:36:31 2019 (r508692) +++ branches/2019Q3/games/openbor3979/files/patch-source_ramlib_ram.c Sun Aug 11 22:36:58 2019 (r508693) @@ -83,7 +83,7 @@ Implement Linux-like memory stats for BSDs + return 0; + } + return (u64)(vms.v_free_count + vms.v_inactive_count -+ + vms.v_cache_count) * getpagesize() / byte_size; ++ + vms.v_cache_count) * getpagesize() / byte_size; +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + u_int v_free_count = 0, v_inactive_count = 0, v_cache_count = 0; + size_t sz = sizeof(u_int); @@ -94,7 +94,7 @@ Implement Linux-like memory stats for BSDs + sysctlbyname("vm.stats.vm.v_cache_count", + &v_cache_count, &sz, NULL, 0); + return (u64)(v_free_count + v_inactive_count -+ + v_cache_count) * getpagesize() / byte_size; ++ + v_cache_count) * getpagesize() / byte_size; +#elif defined(__NetBSD__) || defined(__OpenBSD__) +# if defined(__NetBSD__) +#undef VM_UVMEXP @@ -116,7 +116,7 @@ Implement Linux-like memory stats for BSDs + return 0; + } + return (u64)(uvmexp.free + uvmexp.inactive + uvmexp.filepages -+ + uvmexp.execpages) * uvmexp.pagesize / byte_size; ++ + uvmexp.execpages) * uvmexp.pagesize / byte_size; #elif LINUX struct sysinfo info; sysinfo(&info); Modified: branches/2019Q3/games/openbor4432/files/patch-source_ramlib_ram.c ============================================================================== --- branches/2019Q3/games/openbor4432/files/patch-source_ramlib_ram.c Sun Aug 11 22:36:31 2019 (r508692) +++ branches/2019Q3/games/openbor4432/files/patch-source_ramlib_ram.c Sun Aug 11 22:36:58 2019 (r508693) @@ -60,7 +60,7 @@ Implement Linux-like memory stats for BSDs + return 0; + } + return (u64)(vms.v_free_count + vms.v_inactive_count -+ + vms.v_cache_count) * getpagesize() / byte_size; ++ + vms.v_cache_count) * getpagesize() / byte_size; +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + u_int v_free_count = 0, v_inactive_count = 0, v_cache_count = 0; + size_t sz = sizeof(u_int); @@ -71,7 +71,7 @@ Implement Linux-like memory stats for BSDs + sysctlbyname("vm.stats.vm.v_cache_count", + &v_cache_count, &sz, NULL, 0); + return (u64)(v_free_count + v_inactive_count -+ + v_cache_count) * getpagesize() / byte_size; ++ + v_cache_count) * getpagesize() / byte_size; +#elif defined(__NetBSD__) || defined(__OpenBSD__) +# if defined(__NetBSD__) +#undef VM_UVMEXP @@ -93,7 +93,7 @@ Implement Linux-like memory stats for BSDs + return 0; + } + return (u64)(uvmexp.free + uvmexp.inactive + uvmexp.filepages -+ + uvmexp.execpages) * uvmexp.pagesize / byte_size; ++ + uvmexp.execpages) * uvmexp.pagesize / byte_size; #elif LINUX struct sysinfo info; sysinfo(&info);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908112236.x7BMaxgk033617>