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
  • adding h2ph con... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
    • Re: adding... Olivier Mengué
      • Re: ad... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
      • Re: ad... Olivier Mengué
        • Re... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
    • Re: adding... Kent Fredric
      • Re: ad... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
        • Re... Jean-Damien Durand
          • ... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
            • ... Kent Fredric

Reply via email to