Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-16 | style fixes, no code changes | Denis Vlasenko | |
2007-03-31 | hdparm: fix multisector mode setting | Denis Vlasenko | |
(from Toni Mirabete <amirabete@catix.cat>) | |||
2007-03-28 | hdparm: flag variables can easily be smaller than long | Denis Vlasenko | |
function old new delta process_dev 5247 5325 +78 bb_ioctl_on_off 72 78 +6 unregister_hwif 4 1 -3 ... perform_reset 4 1 -3 parse_xfermode 111 108 -3 noisy_piomode 4 1 -3 ... do_flush 4 1 -3 do_ctimings 4 1 -3 static.parm 4 - -4 static.multcount 4 - -4 parse_opts 54 48 -6 hdparm_main 1435 1383 -52 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/61 up/down: 84/-243) Total: -159 bytes | |||
2007-03-28 | hdparm: remove stray static (-200 bytes bss) | Denis Vlasenko | |
2007-03-28 | hdparm: whitespace style fixes | Denis Vlasenko | |
2007-02-18 | hdparm: style fixes, no code changes | Denis Vlasenko | |
2007-02-03 | suppress warnings about easch <applet>_main() having | Denis Vlasenko | |
no preceding prototype | |||
2007-01-29 | preparatory patch for -Wwrite-strings #2 | Denis Vlasenko | |
2007-01-12 | random small size optimizations | Denis Vlasenko | |
2006-12-26 | style fixes | Denis Vlasenko | |
last xcalloc replaced by xzalloc | |||
2006-10-26 | silly size savings and capitalization fixes | Denis Vlasenko | |
2006-10-20 | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | |
2006-10-08 | attempt to regularize atoi mess. | Denis Vlasenko | |
2006-10-03 | getopt_ulflags -> getopt32. | Denis Vlasenko | |
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | |||
2006-09-23 | bb_askpass: shorten static password buffer. 256 is way too large. | Denis Vlasenko | |
simplify code a bit. | |||
2006-09-17 | whitespace cleanup | Denis Vlasenko | |
2006-08-03 | Patch from tito to improve options parsing. | Rob Landley | |
2006-08-03 | Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate | Rob Landley | |
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) | |||
2006-06-15 | Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of | Rob Landley | |
fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.) | |||
2006-06-08 | Some day, maybe gcc will be able to optimize out static functions that are | Rob Landley | |
never used so we don't have to #ifdef them. Wouldn't that be nice? | |||
2006-06-07 | Fix from Tito to read from stdin only when it's not a tty. | Rob Landley | |
2006-06-07 | Tito writes: this patch fixes two potential bugs with the -i -I flags that ↵ | Mike Frysinger | |
could be reset during option parsing | |||
2006-06-07 | Callers to identify() converted the endianness of the buffer. So did | Rob Landley | |
identify(). This meant big endian systems had a NUXI problem. Removed the redundant conversion from the callers, and made some in-passing cleanups while I was there. | |||
2006-06-03 | - move #include busybox.h to the very top so we pull in the config | Bernhard Reutner-Fischer | |
and eventual platform specific includes in early. | |||
2006-05-31 | Patch from Tito to remove long options from hdparm. | Rob Landley | |
2006-05-29 | Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts values | Rob Landley | |
to/from little endian or big endian, which is a NOP if that's what the current platform already is. | |||
2006-05-28 | Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bits | Rob Landley | |
on 64 bit platforms), and move #include <inttypes.h> to libbb.h. | |||
2006-05-27 | Consolidate #include <sys/time.h> so libbb.h does it. | Rob Landley | |
2006-05-26 | Yann 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-25 | Patch 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-19 | Patch from tito to replace shared memory usage with mlock(), slightly tweaked | Rob Landley | |
by me. | |||
2006-05-16 | Largeish cleanup patch from Tito, mostly if statement therapy. | Rob Landley | |
2006-05-11 | typecast bbig to kill format warnings | Mike Frysinger | |
2006-05-08 | The if() is cheaper than the extra function parameter. According to make | Rob Landley | |
bloatcheck, this saves 112 bytes on x86... | |||
2006-05-07 | Cleanup patch from tito. | Rob Landley | |
2006-05-05 | Patch from Dennis Vlasenko resetting values that get reused. | Rob Landley | |
2006-05-03 | Remove HDIO_GETGEO_BIG which is dead (removed from 2.6) and was pointless back | Rob 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-03 | Use ATTRIBUTE_NORETURN as suggested by tito, plus a few in-passing cleanups. | Rob Landley | |
2006-05-01 | Patch from tito removing obsolete code. | Rob Landley | |
2006-04-29 | Remove some unused code pointed out by Tito, plus a slightly more graceful | Rob Landley | |
way of handling endianness. | |||
2006-04-29 | Style fixes from Denis Vlasenko. | Rob Landley | |
2006-04-29 | Another 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-29 | From 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-29 | Cleanup to hdparm by tito. | Rob Landley | |
2006-04-28 | Patch from tito to update output of hdparm. | Rob Landley | |
2006-04-17 | Patch from Tito to fix printing null and make output look like hdparm 6.3. | Rob Landley | |
2006-04-16 | use more boiler plate GPL notices | Mike Frysinger | |
2006-04-11 | - tweak visibility of label expected_hwif_error as it's only needed for | Bernhard 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 when | Bernhard Reutner-Fischer | |
CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF isn't set. | |||
2006-03-13 | Patch from Denis Vlasenko to add xstat() and use it. | Rob Landley | |