Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2006-03-04 | Patch from Robert P. Day, moving byte order checks to use platform.h macros. | Rob Landley | |
2006-02-22 | Patch from Denis Vlasenko to constify things and fix a few typos. | Rob Landley | |
2006-01-30 | fix up yet more annoying signed/unsigned and mixed type errors | Eric Andersen | |
2006-01-25 | just whitespace | Tim Riker | |
2005-10-15 | data --> code | "Vladimir N. Oleynik" | |
2005-04-16 | Patch from Bernhard Fischer to make a bunch of symbols static | Eric Andersen | |
which were otherwise cluttering the global namespace. | |||
2004-07-20 | Avoid a naming conflict with include/bits/fcntl.h | Eric Andersen | |
2004-04-14 | Larry Doolittle writes: | Eric Andersen | |
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry | |||
2004-04-05 | Tito, farmatito at tiscali dot it writes: | Eric Andersen | |
Hi to all, I discovered a little bug in hdparm.c (really two little bugs...I've made...sigh! Mea culpa). Some vars were modified only locally and this could lead to wrong results to be displayed with the -I switch and maybe with others. Attached is a patch that fix it ( +88b). Also attached is second patch that reduces the size a little bit: text data bss dec hex filename 27984 624 900 29508 7344 hdparm.o (without bug-fix) 28072 624 900 29596 739c hdparm.o (with bug-fix) 28141 624 900 29665 73e1 hdparm.o (original) but maybe this one can wait as we are in a feature freeze. Ciao, Tito | |||
2004-03-20 | Tito noticed a printf that should have been a bb_error_msg. | Eric Andersen | |
2004-03-19 | Fix broken arg parsing (was not passing pointer to items so p, argc, and argv | Eric Andersen | |
were only modified locally). Fix error reporting to properly describe why ioctls fail. | |||
2004-03-15 | Remove trailing whitespace. Update copyright to include 2004. | Eric Andersen | |
2004-02-14 | Avoid naming conflict with symbol in newer glibc headers | Eric Andersen | |
2003-12-12 | Fix compile when CONFIG_FEATURE_HDPARM_GET_IDENTITY is disabled | Eric Andersen | |
2003-11-28 | Correct Matteo's email address | Glenn L McGrath | |
2003-10-09 | Patch from Steven Scholz, fix some warnings | Glenn L McGrath | |
2003-10-09 | Patch from Tito, size optimisation and fix error in exit code of -V | Glenn L McGrath | |
option | |||
2003-09-15 | Update Matteo Croce's email address | Glenn L McGrath | |
2003-08-08 | quiet some noise | Eric Andersen | |
2003-08-06 | Patch from Steven Scholz: | Eric Andersen | |
should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch? | |||
2003-08-06 | Sync hdparm -t and -T options with hdparm-5.3, which seems | Eric Andersen | |
to produce sensible results, |