summaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* minor fixes for fbset bloatAaron Lehmann2002-08-131-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | <mjn3> printf("\tgeometry %u %u %u %u %u\n", v->xres, v->yres, <mjn3> v->xres_virtual, v->yres_virtual, v->bits_per_pixel); <mjn3> printf("\ttimings %u %u %u %u %u %u %u\n", v->pixclock, v->left_margin, <mjn3> v->right_margin, v->upper_margin, v->lower_margin, v->hsync_l <mjn3> en, <mjn3> v->vsync_len); <mjn3> printf("\taccel %s\n", (v->accel_flags > 0 ? "true" : "false")); <mjn3> printf("\trgba %u/%u,%u/%u,%u/%u,%u/%u\n", v->red.length, <mjn3> v->red.offset, v->green.length, v->green.offset, v->blue.leng <mjn3> th, <mjn3> v->blue.offset, v->transp.length, v->transp.offset); <mjn3> printf("endmode\n\n"); <mjn3> whay have multiple printf calls when one would do? <mjn3> and this: <mjn3> static struct cmdoptions_t { <mjn3> char *name; <mjn3> unsigned char param_count; <mjn3> unsigned char code; <mjn3> } g_cmdoptions[] = { <mjn3> { <mjn3> "-fb", 1, CMD_FB}, { <mjn3> (repeated entries) <mjn3> why isn't this constant? what about struct packing? inline the helper functions that are only referenced once.
* - updated a few copyright/left file headersRobert Griebl2002-08-051-2/+17
| | | | - documented most of my 0.61 changes in the ChangeLog
* Fix for bug #1255 -- support for mount -t <type>Robert Griebl2002-07-251-8/+14
|
* Add support for /etc/filesystem when searching for an "auto" filesystemRobert Griebl2002-07-241-16/+52
| | | | This is bug #1246
* Initial checkin of a very primitive hwclock replacementRobert Griebl2002-07-213-0/+234
|
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-07-191-17/+9
| | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
* A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen2002-07-031-16/+4
| | | | | | | | | xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart!
* Remove advertising clauses in accordance withAaron Lehmann2002-06-231-5/+1
| | | | ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
* Kill dead email addressEric Andersen2002-06-221-1/+1
| | | | -Erik
* Apply last_patch46 from vodz, to fix buffer overflows noted byEric Andersen2002-06-221-25/+23
| | | | Gerardo Puga, and to optimize for size a little bit. Thanks vodz
* Entries with "noauto" options are ignored correctly when mounting allRobert Griebl2002-05-141-0/+1
| | | | | ("mount -a"), but mount fails when these entries are specified explicitly In these cases the "noauto" option has to be simply ignored.
* Patch from Kevin Hilman <khilman@equator.com> to fix potentialEric Andersen2002-04-131-1/+2
| | | | memory corruption from long pathnames in /etc/fstab.
* Update some missing copyright noticesEric Andersen2002-04-133-2/+2
|
* Completely rework the config system so that it no longer annoys me to work onEric Andersen2002-04-122-29/+57
| | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
* Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen2002-04-062-6/+5
|
* * include/applets.h (CONFIG_LOSETUP): New.Matt Kraai2002-03-203-0/+60
| | | | | | | * include/usage.h (losetup_trivial_usage, losetup_full_usage): New. * util-linux/Makefile: Add losetup.o. * util-linux/config.in: Add losetup prompt. * util-linux/losetup.c: New.
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-202-23/+23
|
* Avoid NULL pointer problems. Patch from "Frank P. MacLachlan"Eric Andersen2001-12-061-0/+1
| | | | <fpm-plutus@tgs.indyme.com>
* Fix running more on files in the (broken) procfs that claim 0 lengthEric Andersen2001-12-061-1/+2
| | | | | when that isn't actually true. -Erik
* Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai2001-11-121-2/+2
|
* Cleanup some config problems. Add a sane default config that basicallyEric Andersen2001-11-101-4/+4
| | | | matches the default old Config.h
* oopsEric Andersen2001-11-101-1/+0
|
* config.in features patch from Giulio Orsero <giulioo@pobox.com>Eric Andersen2001-11-101-3/+30
| | | | with some minor edits from me
* Introduce od and hexdump appletsGlenn L McGrath2001-11-023-0/+171
|
* Fixup some silly prototype warningsEric Andersen2001-10-311-3/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-249-74/+147
| | | | -Erik
* Scrub up some function prototypes.Eric Andersen2001-10-182-2/+2
| | | | -Erik
* Make mount default to using /proc/filesystems to avoidEric Andersen2001-10-181-2/+31
| | | | | ever trying to mount a nodev filesystem. -Erik
* Use xfopen, saves 32 bytes !Glenn L McGrath2001-10-051-5/+4
|
* Use port 37 by default.Matt Kraai2001-10-011-6/+6
|
* Don't automount things as "usbdevfs" -- patch fromEric Andersen2001-09-031-1/+1
| | | | Ethan Benson <erbenson@alaska.net>
* Standard typing (u_int16_t instead of u16, u_int32_t insteadEric Andersen2001-08-293-67/+55
| | | | of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
* Commit Vladimir's simplify_path.Matt Kraai2001-08-101-7/+4
|
* Teach libc5 about realpathEric Andersen2001-08-021-0/+5
| | | | -Erik
* Rework option handling to save space.Matt Kraai2001-07-301-19/+11
|
* Rename dirname variable to pathname to eliminate namespace conflict.Matt Kraai2001-07-261-7/+7
|
* Add support for devfs device names.Matt Kraai2001-07-231-2/+2
|
* This is vodz' latest patch. Sorry it took so long...Eric Andersen2001-07-171-1/+1
| | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
* Fix a thinko (the symptoms of which were reported byMatt Kraai2001-07-051-1/+1
| | | | David Douthitt in bug #1111).
* Vladimir's last_patch_15Glenn L McGrath2001-06-261-51/+49
|
* Don't whine about already mounted filesystems when invoked with -a.Matt Kraai2001-06-031-6/+9
|
* Patch from Gernot Poerner <gp@it-netservice.de>. Adds inEric Andersen2001-05-211-0/+2
| | | | mount bind support.
* Remove/replace the "div" call.Eric Andersen2001-05-161-5/+7
|
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-162-4/+3
|
* Patch from Vladimir:Eric Andersen2001-05-152-18/+21
| | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb
* Actually we dont need to check if the device is nfs as it wont be stat'edGlenn L McGrath2001-05-071-2/+1
|
* woops, i shouldnt be so presumtuous? about what the error will beGlenn L McGrath2001-05-071-1/+1
|
* Device may not be a real filenameGlenn L McGrath2001-05-071-10/+16
|
* Fix two bugs reported by Ralph Jones.Matt Kraai2001-05-041-3/+7
|
* Canonicalize path before trying to unmount it.Matt Kraai2001-05-021-1/+6
|