comparison toys/other/ifconfig.c @ 1518:4bfbd8b96f66 draft

Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysis, plus occasional tweak by me while reviewing them.
author Rob Landley <rob@landley.net>
date Thu, 09 Oct 2014 13:43:32 -0500
parents 00c20f410c46
children 8d52be1c6cf3
comparison
equal deleted inserted replaced
1517:7dacf2eda737 1518:4bfbd8b96f66
4 * Copyright 2012 Kyungwan Han <asura321@gamil.com> 4 * Copyright 2012 Kyungwan Han <asura321@gamil.com>
5 * Reviewed by Kyungsu Kim <kaspyx@gmail.com> 5 * Reviewed by Kyungsu Kim <kaspyx@gmail.com>
6 * 6 *
7 * Not in SUSv4. 7 * Not in SUSv4.
8 8
9 USE_IFCONFIG(NEWTOY(ifconfig, "?a", TOYFLAG_BIN)) 9 USE_IFCONFIG(NEWTOY(ifconfig, "^?a", TOYFLAG_BIN))
10 10
11 config IFCONFIG 11 config IFCONFIG
12 bool "ifconfig" 12 bool "ifconfig"
13 default y 13 default y
14 help 14 help