Apparently on FreeBSD procfs is disabled by default, so when this is the case, gsimplecal crashes on ftok invocation. We should check if reading from procfs gave us an error and do something else instead, for example using $0 so to say. Or maybe replace procfs with it entirely if it proves to be reliable.
Apparently on FreeBSD procfs is disabled by default, so when this is the case, gsimplecal crashes on
ftok
invocation. We should check if reading from procfs gave us an error and do something else instead, for example using$0
so to say. Or maybe replace procfs with it entirely if it proves to be reliable.