Commit Graph

17 Commits

Author SHA1 Message Date
Gilles Grandou
4f8acfd128 fixed silly warnings due to -Wall 2011-07-21 01:21:34 +02:00
Heiko Stuebner
d5e385e221 fix implicit declared function ftruncate 2011-07-14 21:13:25 +02:00
Gilles Grandou
4494fb2cac check fread() ret values + clean all fread/fwrite 2011-07-14 01:24:44 +02:00
Gilles Grandou
1fb6383d76 fix - block device support was broken...
bad pointer dereferencing in ioctl call
2011-07-14 00:13:13 +02:00
Heiko Stuebner
f8525d5c9e Fix compilation on GNU-Hurd.
Hurd seems to also not contain a BLKGETSIZE equivalent.
2011-07-04 17:49:40 +02:00
Martin Johnson
819366a970 Fix for malloc of wrong size, (crashed if ramdisk larger than kernel) 2011-06-09 10:51:50 +12:00
Gilles Grandou
6ef3f1acc2 iside: be verbose when check_boot_img_header fails 2011-05-18 23:32:41 +02:00
Gilles Grandou
bd22314611 put all blkgetsize mess in a dedicated function 2011-05-18 23:14:48 +02:00
Heiko Stuebner
3dc5f15704 Fix build-failure with BLKGETSIZE64 on non Linux systems
The BLKGETSIZE64 ioctl is Linux specific.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2011-05-18 22:59:28 +02:00
Gilles Grandou
ab7a686673 updated (c) 2011 2011-05-04 00:00:32 +02:00
Gilles Grandou
f23308b89a added version number
* generate version.h from git-describe
* print version number and (c) in help message
2011-05-03 23:42:20 +02:00
Gilles Grandou
0da07ee2bf warning fix 2011-02-17 23:02:53 +01:00
Gilles Grandou
b4bf230bcb fix: sigfpe if page_size == 0
* exit if page_size is null
* set default page_size to 2048.
2011-02-17 22:57:19 +01:00
Gilles Grandou
01ca8b99e2 fix: when only kernel is updated ramdisk can be corrupted 2010-12-08 07:38:32 +01:00
Gilles Grandou
e1a2d45d5a fix when udpating ramdisk without kernel 2010-11-28 22:42:39 +01:00
Gilles Grandou
6cf7c45b2a fixed --create on block devices 2010-11-28 22:14:11 +01:00
Gilles Grandou
6d37c08545 Initial commit 2010-11-26 11:09:19 +01:00