e5354ca12a232b3f97726214254a868771cb70d1 |
|
11-Sep-2015 |
Rob Landley <rob@landley.net> |
Replace toys.exithelp with help_exit() in lib.
/external/toybox/toys/pending/fdisk.c
|
30f6ef5fcd571c554c2c59585d126b92793379d0 |
|
14-Jul-2014 |
Ashwini Sharma <ak.ashwini1981@gmail.com> |
fdisk : partitions > 60, are deleted, offset entry for extended partitions was wrong. fsck: memory leak/segfault resolved. ftpget : warning for unused variable 'ptr' removed.
/external/toybox/toys/pending/fdisk.c
|
59d85e2bb065a3bdc27868acb7a65f89d872c7fa |
|
16-Jan-2014 |
Rob Landley <rob@landley.net> |
Rename xmsprintf() to just xmprintf(). Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in.
/external/toybox/toys/pending/fdisk.c
|
9d44ab3f179e0e914abc1d6edc79a22c265baaa9 |
|
12-Aug-2013 |
Isaac Dunham <ibid.ag@gmail.com> |
fdisk: remove goto; inline valid(); merge xprintf() calls; shrink sys_types sys_types had used char[_PATH_MAX] for 22-char max strings. When this is done 48 times, it nearly doubles the size of toybox. goto should only be used when it is the easiest way to bail out. That does not mean "when we need to fall back to returning a one-liner that asks user input", nor is it suitable for looping: C has while () and do { } while (); for a reason. valid was called once. As such, it belonged inline. print_*menu could probably be inlined, but I did not do this yet in case a table-driven approach works better. This uses C string concatenation to break an overly long message up, while not wasting function calls.
/external/toybox/toys/pending/fdisk.c
|
1c8b0090a6529ce35f877973778e7814387c1e3f |
|
12-Aug-2013 |
Rob Landley <rob@landley.net> |
Ashwini Sharma said that Kyungwan Han should be in the contact info for the commands he sent recently.
/external/toybox/toys/pending/fdisk.c
|
142ebdcfbe01007cd86d699d85dc608bbcaacf82 |
|
05-Aug-2013 |
Ashwini Sharma <ak.ashwini@gmail.com> |
I have implemented FDISK command. This supports '-l' option for listing and other options [-bCHS] for giving values like block size, Cylinders, Heads,...
/external/toybox/toys/pending/fdisk.c
|