Hi, 2012/2/3 Michael Meskes <[email protected]>: > Thanks for your effort, but unfortunately the patch does not work. It might > make memstat compile on Hurd, but it certainly creates a non-funtional binary > on Linux. Please run the progam on Linux with and without your patch to see > the > different output.
I'm attaching the corrected version of the patch. Even if the output is not exactly the same (memstat scans its own memory and the fixed software uses a dynamically allocated variable) I thinks the fix would be appropriate for Linux. But, even if it solves the FTBFS on Hurd the output on this OS is not correct. On Hurd the /proc is not totally implemented so memstat, even fixed, cannot work. I'll keep the patch and resubmit it when Hurd has a complete /proc file-system. Thanks again for your time, Tanguy
memstat-0.9.hurd.patch
Description: Binary data

