Fix more wrong sizeof() usages, part 3/x
authorSascha Wildner <saw@online.de>
Thu, 21 Jun 2012 02:25:19 +0000 (04:25 +0200)
committerSascha Wildner <saw@online.de>
Thu, 21 Jun 2012 02:40:17 +0000 (04:40 +0200)
commit1ad9baefb6afa9445d771c319d7e1aa5276989f2
treec3f0be01e695ae74945abb935058808e8243f455
parent5a90f066190a00cb2afce74dc68c5b7c5e8340fd
Fix more wrong sizeof() usages, part 3/x

Some comments:

* The gzip fix speeds up uncompression of compress(1)'d files with gzip.
  A test here took 9s with the fix when it previously took 15s.

* Our OpenSSH is without J-PAKE support, hence the OpenSSH fix is only
  cosmetical.

Found-with: Coccinelle (http://coccinelle.lip6.fr/)
crypto/openssh/jpake.c
sys/dev/acpica5/acpi_package.c
sys/netproto/ncp/ncp_mod.c
usr.bin/gzip/zuncompress.c