aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2006-05-26- provide fallback defines for non-linuxBernhard Reutner-Fischer
2006-05-26- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer
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
2006-05-26- introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer
- fix last.c to also look at the double-underscore UT_ defines.
2006-05-26Yann E. MORIN. writes:Mike Frysinger
hdparm has a uint64_t passed to printf with a %llu format (which is ok, because it's the same size), but without first being casted(?) to unsigned long long int. Which is kinda funny because it's done OK on a few lines above...
2006-05-25And fix the error I just introduced. :)Rob Landley
2006-05-25Remove pointless #define.Rob Landley
2006-05-25Patch from Tito:Rob Landley
Remove -v verbose -V version -q quiet flags Remove parse_opt_v2(); Rename parse_opt_v3() to parse_xfermode() Remove if_strcat() Rearrange code in  dump_identity() to reduce size Modify some strings so that they could be optimized by the compiler Minor code clean up Remove unneeded #define <shm.h> #if BB_BIG_ENDIAN && !defined(__USE_XOPEN) # define __USE_XOPEN #endif     Must be before #include <unistd.h> and #include "busybox.h" (noticed by Bernhard Fischer <rep.nop@aon.at>) Remove duplicate code in do_time()
2006-05-21New version of nohup that's much smaller, less paranoid, consistent,Rob Landley
vaguely portable, and licensed GPLv2 "or later".
2006-05-20- silence warning about no return in function returning non-voidBernhard Reutner-Fischer
- put CONFIG_DEBUG_CROND_OPTION into config no changes in size when debugging is disabled.
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-19Patch from tito to replace shared memory usage with mlock(), slightly tweakedRob Landley
by me.
2006-05-19- fix invalid modeBernhard Reutner-Fischer
2006-05-16Largeish cleanup patch from Tito, mostly if statement therapy.Rob Landley
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-11typecast bbig to kill format warningsMike Frysinger
2006-05-08The if() is cheaper than the extra function parameter. According to makeRob Landley
bloatcheck, this saves 112 bytes on x86...
2006-05-07Cleanup patch from tito.Rob Landley
2006-05-05Patch from Dennis Vlasenko resetting values that get reused.Rob Landley
2006-05-03Remove HDIO_GETGEO_BIG which is dead (removed from 2.6) and was pointless backRob Landley
in 2.4 (it fetched the same hd_geometry struct only with uint cylinders instead of ushort cylinders: nothing that big has ever accurately reported gemoetry, it's all LBA. Also stop declaring the hd_geometry struct static: it's two chars, a short, and a long for a grand total of 8 bytes. That can go on the stack.
2006-05-03Use ATTRIBUTE_NORETURN as suggested by tito, plus a few in-passing cleanups.Rob Landley
2006-05-01Patch from tito removing obsolete code.Rob Landley
2006-04-29Remove some unused code pointed out by Tito, plus a slightly more gracefulRob Landley
way of handling endianness.
2006-04-29Style fixes from Denis Vlasenko.Rob Landley
2006-04-29Another patch from Denis Vlasenko:Rob Landley
Make hdparm smaller: * Make bb_ioctl return the status * Replace ioctl with bb_ioctl in a few places * Add bb_ioctl_alt, use where appropriate (four places) * unsigned char args1[4+512] = {WIN_IDENTIFY,0,0,1,}; ate 0.5k of rodata, fix that
2006-04-29From Dennis Vlasenko, Make hdparm smaller:Rob Landley
* Use combined no_scsi_no_xt() * Have common unsigned char args[4] = {WIN_SETFEATURES,0,0,0};
2006-04-29Cleanup to hdparm by tito.Rob Landley
2006-04-29just include fcntl.h not sys/fcntl.hMike Frysinger
2006-04-29Rob Sullivan writes: rewrite the regex handling to improve stabilityMike Frysinger
2006-04-28Patch from tito to update output of hdparm.Rob Landley
2006-04-24- return ret so we return something meaningful.Bernhard Reutner-Fischer
2006-04-18From Rob Sullivan: Fix a segfault with searching, plus some cleanups.Rob Landley
2006-04-17Patch from Tito to fix printing null and make output look like hdparm 6.3.Rob Landley
2006-04-16just use the stack to kill memleak and return if user didnt give us anything ↵Mike Frysinger
to match
2006-04-16use xmalloc, dont hardcode length of string, and get rid of pointless call ↵Mike Frysinger
to memset
2006-04-16uncuddle if statementsMike Frysinger
2006-04-16use more boiler plate GPL noticesMike Frysinger
2006-04-16uncuddle bracketsMike Frysinger
2006-04-13Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley
to do it in Config.in.
2006-04-13- patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xdaemon()Bernhard Reutner-Fischer
2006-04-11- tweak visibility of label expected_hwif_error as it's only needed forBernhard Reutner-Fischer
CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF or CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
2006-04-05- make sure that the label expected_hwif_error is visible even whenBernhard Reutner-Fischer
CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF isn't set.
2006-03-30Clarify.Rob Landley
2006-03-29add public-domain releasePaul Fox
2006-03-24- commentary typosBernhard Reutner-Fischer
2006-03-23fixup styleMike Frysinger
2006-03-23dont printf arguments given by user for security sanityMike Frysinger
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-13Patch from Denis Vlasenko to add xstat() and use it.Rob Landley