headers_install: use local file handles
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 22 Feb 2010 23:17:26 +0000 (15:17 -0800)
committerMichal Marek <mmarek@suse.cz>
Sun, 7 Mar 2010 20:43:49 +0000 (21:43 +0100)
commitbae4cecc09db9d472d71cb262de3c976147ad628
tree5376d38413f3b6b51e45decb54ab1ea4e034f8e9
parentdbbe33e99f41a6f07e61dbce455964112d8ac72b
headers_install: use local file handles

Better practice to use 3 arg open and local file handles.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: WANG Cong <amwang@redhat.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/headers_install.pl