lsof-noportmap.patch 420 B

123456789101112131415161718
  1. --- lsof_4.81/lsof_4.81_src/print.orig.c 2006-08-23 13:37:43.000000000 -0600
  2. +++ lsof_4.81/lsof_4.81_src/print.c 2006-08-23 13:38:29.000000000 -0600
  3. @@ -148,6 +148,7 @@
  4. static void
  5. fill_portmap()
  6. {
  7. +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__)
  8. char buf[128], *cp, *nm;
  9. CLIENT *c;
  10. int h, port, pr;
  11. @@ -266,6 +267,7 @@
  12. Pth[pr][h] = pt;
  13. }
  14. clnt_destroy(c);
  15. +#endif
  16. }