On 18.07.2020 08:14, Achim Gratz wrote:
Lemures Lemniscati via Cygwin writes:
Some errors'll occur in Source/kwsys/SystemInformation.cxx
since /proc/meminfo in Cygwin has only these fields
$ cat /proc/meminfo
MemTotal: 20824372 kB
MemFree: 13545156 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 20824372 kB
LowFree: 13545156 kB
SwapTotal: 3145728 kB
SwapFree: 3131252 kB
In particular, we have no MemAvailable field in Cygwin.
I attached a patch 0001-3.17.3-cpuinfo_suppl.patch for this issue,
which should be applied after 3.17.3-cpuinfo.patch
The patch separates a case defined(__CYGWIN__) from a case defined(__linux)
I'd suggest we rather patch Cygwin to provide that field in meminfo.
Regards,
Achim.
https://cygwin.com/acronyms/#PGA
I am sure Corinna will appreciate it
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple