summaryrefslogtreecommitdiff
path: root/misc-utils/recv_image.c
Commit message (Collapse)AuthorAgeFilesLines
* mtd-utils: Fix some simple cases of uninitialized value readsDavid Oberhollenzer2020-02-091-2/+1
| | | | | | | | | This patch modifies the internal helpers to read and parse integers from sysfs files by initializing them first and removes turns an obscure "a = open(...) if (a >= 0) {...} if (a == -1) {...}" inside recv_image into a more straight forward if/else branch. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
* Move libfec declarations to public header in global include directoryDavid Oberhollenzer2017-06-281-0/+1
| | | | Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
* fix build warnings w/newer glibc & _BSD_SOURCEMike Frysinger2016-04-181-0/+1
| | | | | | | | | The _BSD_SOURCE define has been deprecated for a while now. Instead, code should be defining _DEFAULT_SOURCE. By defining both, it'll work with both new & old versions warning-free. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
* mtd-utils: Restructure the mtd-utils source.Dongsheng Yang2015-11-111-0/+484
* There is no code modification in this commit, only moving * the files to proper place. The user tools looks a little messy as we place almost the all tools in the root directory of mtd-utils. To make it more clear, I propose to introduce the following structure for our source code. mtd-utils/ |-- lib |-- include |-- misc-utils |-- jffsX-utils |-- nand-utils |-- nor-utils |-- ubi-utils |-- ubifs-utils `-- tests Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>