aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - reuse strings and messages. Saves about 600Baldot2006-06-071-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Whack the one last warning in make allbareconfig...landley2006-06-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15299 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use bb_msg_{read,write}_error where appropriate.aldot2006-06-031-1/+1
| | | | | | | | | text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox git-svn-id: svn://busybox.net/trunk/busybox@15279 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - No options should set the current system time.aldot2006-06-031-4/+4
| | | | | | | | | | | | | | | | Shaun Jackman writes: A bug introduced in svn 11946 broke rdate. It no longer sets the current system time when no options are specified. The options have the opposite sense from what one might think, and, oddly enough, -ps is intentionally a no-op. Quoth rdate(8) from the BSD System Manager's Manual: -p Do not set, just print the remote time -s Do not print the time. git-svn-id: svn://busybox.net/trunk/busybox@15269 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _() and N_() from platform.h. #define them as NOP macros in the twolandley2006-05-291-0/+2
| | | | | | | | | files still using them. I didn't remove them from e2fsck.c to avoid stomping pending cleanup patches from Garrett, and I didn't bother to remove them from fdisk.c because that entire file needs to be rewritten from scratch. git-svn-id: svn://busybox.net/trunk/busybox@15212 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _().landley2006-05-291-14/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix some warnings in allbareconfig.landley2006-05-281-5/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15206 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-272-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change llist_add_* to take the address of the list rather than returning the newlandley2006-05-261-1/+1
| | | | | | | head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!aldot2006-05-262-4/+4
| | | | | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts git-svn-id: svn://busybox.net/trunk/busybox@15195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - work around bug in gcc-3.4.x on ARMaldot2006-05-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix spelling mistakesvapier2006-05-262-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert to a global struct, the way sed was. Now I have two, I can work outlandley2006-05-211-4/+9
| | | | | | | the infrastructure to merge global structs into a union... git-svn-id: svn://busybox.net/trunk/busybox@15157 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove emacs layout block as suggested by Robert P.J. Dayaldot2006-05-192-30/+3
| | | | | | | - use shorter boilerplate while at it git-svn-id: svn://busybox.net/trunk/busybox@15141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - single KERNEL_VERSION(a,b,c) macro in platform.haldot2006-05-192-12/+11
| | | | | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day git-svn-id: svn://busybox.net/trunk/busybox@15121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵vapier2006-05-131-1/+1
| | | | | | mailing list git-svn-id: svn://busybox.net/trunk/busybox@15079 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shut up the warning "implicit declaration of strlen".landley2006-05-101-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fiddling with llist to make memory management easier. Specifically, thelandley2006-05-081-1/+1
| | | | | | | | option to delete the contents of the list when we delete the list is a good thing. git-svn-id: svn://busybox.net/trunk/busybox@15037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shrink the code about 50 bytes, allocate less run-time memory, and add alandley2006-05-081-20/+19
| | | | | | | | comment that null terminating the string we sscanf() shouldn't be required since the kernel adds \n to the end of it and sscanf will stop there. git-svn-id: svn://busybox.net/trunk/busybox@15030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More busting on legacy mtab support in the help text.landley2006-05-081-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many byteslandley2006-05-071-2/+2
| | | | | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. git-svn-id: svn://busybox.net/trunk/busybox@15023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Migrate endianness macros.landley2006-05-051-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jason Schoon to make mount -a not abort on the first failure.landley2006-05-051-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15005 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Build break fix from Bernhard fischer, fixing fallout from svn 14974. (My bad.)landley2006-05-031-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14988 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patches from Denis Vlasenko to rework "current_name" handling and removelandley2006-04-291-126/+95
| | | | | | | | print_current_name(). git-svn-id: svn://busybox.net/trunk/busybox@14974 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko:landley2006-04-291-93/+74
| | | | | | | | | | | | * Do not initialize globals to 0, it is done automatically * unsigned short -> uint16_t, unsigned int -> uint32_t where appropriate (did it ever work on Alphas?) * triple sync() is silly - removed * check_zone_nr uses check_zone_nr2 now * remove trailing periods from messages, uppercase first letter git-svn-id: svn://busybox.net/trunk/busybox@14973 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko:landley2006-04-291-2/+2
| | | | | | | | ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8) git-svn-id: svn://busybox.net/trunk/busybox@14972 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jason Schoon writes: This makes the case where LFS is not defined, but fdisk ↵vapier2006-04-211-5/+1
| | | | | | is configured with large disk support use the pretty build rules. git-svn-id: svn://busybox.net/trunk/busybox@14937 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert Eggers noticed that nfsmount would sometimes incorrectly return success.landley2006-04-171-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use memmove() instead of bcopy()vapier2006-04-161-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't havelandley2006-04-131-19/+19
| | | | | | | to do it in Config.in. git-svn-id: svn://busybox.net/trunk/busybox@14850 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xopen3()aldot2006-04-132-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14847 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to add and use bb_xsocket() and to usealdot2006-04-123-24/+7
| | | | | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@14833 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kumar spotted another bug: if we autodetect nfs and they haven't specified thelandley2006-04-051-0/+1
| | | | | | | fstype, it should be set to nfs. git-svn-id: svn://busybox.net/trunk/busybox@14749 69ca8d6d-28ef-0310-b511-8ec308f3f277
* You'd think there'd be a compiler warning for "pointless if", wouldn't you?landley2006-04-041-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14746 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do away with useless fwd-decls, redundant bb_printf calls, silence warningaldot2006-04-031-220/+204
| | | | | | | | | | | | about comparing signed and unsigned and make stuff static. text data bss dec hex filename 6944 0 0 6944 1b20 util-linux/ipcs.o.oorig 6509 0 0 6509 196d util-linux/ipcs.o TODO: bb_getopt_ulflags, and further simplifications git-svn-id: svn://busybox.net/trunk/busybox@14735 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug spotted by Kumar Gala. Hopefully this fixes it...landley2006-04-011-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14723 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig:aldot2006-03-311-21/+10
| | | | | | | | | text data bss dec hex filename 1307 0 0 1307 51b util-linux/hwclock.o.oorig 1255 0 0 1255 4e7 util-linux/hwclock.o git-svn-id: svn://busybox.net/trunk/busybox@14714 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.aldot2006-03-292-79/+83
| | | | | | | | | | | http://busybox.net/lists/busybox/2006-March/019326.html 2137 8 28 2173 87d util-linux/mkswap.o.orig 1890 8 28 1926 786 util-linux/mkswap.o.v0+v1 1560 4 28 1592 638 util-linux/mkswap.o.v1 git-svn-id: svn://busybox.net/trunk/busybox@14689 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink dmesg a bit.aldot2006-03-291-41/+22
| | | | | | | http://busybox.net/lists/busybox/2006-March/019477.html git-svn-id: svn://busybox.net/trunk/busybox@14688 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kumar Gala tracked down a problem with NFS mounting. This is a different fixlandley2006-03-291-21/+19
| | | | | | | from his, but to the same problem. git-svn-id: svn://busybox.net/trunk/busybox@14684 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocatelandley2006-03-281-1/+0
| | | | | | | it. git-svn-id: svn://busybox.net/trunk/busybox@14681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P Day removed some commented out code.landley2006-03-261-14/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make sure that we see freeramdisk only oncealdot2006-03-241-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14643 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dont printf arguments given by user for security sanityvapier2006-03-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix missing copyright and license notice.landley2006-03-211-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14593 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unneeded entries.landley2006-03-201-10/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14586 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupandersen2006-03-201-29/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix some obvious compile problems. Make the -f' fakeIt option actually work.andersen2006-03-201-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14583 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito, acked by Bernhard Fischer.landley2006-03-202-8/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14578 69ca8d6d-28ef-0310-b511-8ec308f3f277