aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
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
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-04Patch from Robert P. Day, moving byte order checks to use platform.h macros.Rob Landley
2006-03-02- remove unused lists *-mBernhard Reutner-Fischer
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-28more security: don't start shell code from argv"Vladimir N. Oleynik"
2006-02-28Cosmetic cleanup from tito.Rob Landley
2006-02-27- whitespace cleanup from Tito.Bernhard Reutner-Fischer
2006-02-23Convert all the applets from #include to USE(). Had to fix some nonstandardRob Landley
naming along the way to get USE() macros for everything.
2006-02-22Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley
2006-02-21Don't build directory libraries unless we're building an applet that needs it.Rob Landley
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-02-01removed anoinig warnings"Vladimir N. Oleynik"
2006-01-31protect potential overflow for x86_64"Vladimir N. Oleynik"