netkitbase-gcc4.patch 484 B

123456789101112
  1. diff -ur netkit-base-0.17/inetd/servtab.c netkit-base-0.17-patched/inetd/servtab.c
  2. --- netkit-base-0.17/inetd/servtab.c 2000-07-22 15:20:50.000000000 -0500
  3. +++ netkit-base-0.17-patched/inetd/servtab.c 2005-04-30 21:23:52.649630720 -0500
  4. @@ -771,7 +771,7 @@
  5. return;
  6. }
  7. -#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;}
  8. +#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;}
  9. /*
  10. * sep->se_wait may be holding the pid of a daemon