Em 13/02/2017 08:09, Olivier Mengué escreveu:
On a quick look at the code, you seem to use h2ph only to extract the
Linux syscalls. And the only syscall used in the code is getdents.
But syscalls numbers are not expected to change from one machine to another.
So using h2ph for this task seems to be just masochism. I would just
define a numeric constant.
Olivier.
Thanks Olivier, didn't know about that... can I expected to have the
same constants for Linux, independent of architecture (32 and 64 bits)
and distribution?
If so, I would gladly stop loading syscall.ph with require,
Thanks again,
Alceu