Rob Landley
|
0b00ea7fb8
Change xabspath() to more granular (flag based) control interface.
|
2 years ago |
Rob Landley
|
a079039934
Have xclose() perform the fd != -1 test.
|
3 years ago |
Alessio Balsini
|
b7265da4cc
losetup: Change variable name to improve readability
|
4 years ago |
Alessio Balsini
|
55d9376115
losetup: Fix memory leaks in loopback_setup()
|
4 years ago |
Alessio Balsini
|
0bcd6c10f7
losetup: Fix null-termination of src string instead of dest after copy
|
4 years ago |
Elliott Hughes
|
a626662bf5
losetup: fix the race.
|
4 years ago |
Elliott Hughes
|
40e55eb40a
losetup: fix Android.
|
5 years ago |
Elliott Hughes
|
aec194e573
losetup: minor fixes.
|
5 years ago |
Elliott Hughes
|
42af2e52e7
Bumper typo cleanup.
|
5 years ago |
Rob Landley
|
aa5ddae1ba
Switch losetup to short arg var style and force typecasts for printf.
|
5 years ago |
Rob Landley
|
3cc79396fd
Android has its loop devices under "block" as Elliott says "by reason of
|
6 years ago |
Rob Landley
|
d3a435e53c
Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format
|
8 years ago |
Rob Landley
|
e5354ca12a
Replace toys.exithelp with help_exit() in lib.
|
8 years ago |
Rob Landley
|
82effc97f9
Switch a lot of strncpy() calls to xstrncpy().
|
9 years ago |
Rob Landley
|
3d56716d36
Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysis, plus occasional tweak by me while reviewing them.
|
9 years ago |
Rob Landley
|
3c69835d6e
As long as I had to write xabspath(), no point in wrapping realpath().
|
10 years ago |
Rob Landley
|
c6fcf1d25d
Make "losetup /dev/loop0 filename" work.
|
10 years ago |
Rob Landley
|
36ffc5aa3e
Move guts of help command into show_help() in lib/help.c, with config TOYBOX_HELP controlling infrastructure.
|
11 years ago |
Rob Landley
|
af00119958
Some older build environments don't have LOOP_CTL_GET_FREE or LOOP_SET_CAPACITY. Substitute constants so they can get the rest of losetup without a build break.
|
11 years ago |
Rob Landley
|
1a33c6b07a
Silence deeply stupid gcc warning. (First non-declaration line of function: if (file) ffd = open(); at end of of function: if (file) close(ffd); "file" is an argument to the function and nothing else assigns to it. gcc warning on that close, "ffd may be used uninitialized!" _HOW_?)
|
11 years ago |
Rob Landley
|
662a267c9b
Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out other places that were setting it that no longer need to.
|
11 years ago |
Rob Landley
|
ef2af2e4d6
Add losetup. (Who knows, it might even work.)
|
11 years ago |