#43 fcntl17: fix short pid problem

System Calls
closed-accepted
nobody
Testcases (27)
5
2008-11-18
2008-11-17
Marcus Meissner
No

Process ids (pids) are not necessary in "short" range, they might be larger (and are in SLES 10 e.g.)

Fix is simple and attached.

Discussion

  • fix-pid-is-not-short.diff

     
  • Subrata Modak
    Subrata Modak
    2008-11-18

    Thanks for this Patch. Can you also please send Patches regarding the same issue for other tests. I guess there should be many.

    Regards--
    Subrata

     
  • Subrata Modak
    Subrata Modak
    2008-11-18

    • status: open --> closed-accepted
     
  • there aactually are not ...

    there are various uses of "int" as type of pid, but this is harmless and should be more future proof.

    I saw no other "short" uses for pid.