aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stty.c
AgeCommit message (Collapse)Author
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
2007-07-27multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko
function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
2007-07-24Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko
which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
2007-06-25Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko
<wharms@bfs.de>)
2007-05-30whitespace fixesDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-19stty: fix option parsing bug (spotted by Sascha Hauer <s.hauer@pengutronix.de>)Denis Vlasenko
2007-04-10style fixes. No code changes.Denis Vlasenko
2007-04-08add some missed statics on constant objects.Denis Vlasenko
fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped
2007-04-04- remove some bss users.Bernhard Reutner-Fischer
text data bss dec hex filename 6220 8 14 6242 1862 stty.o.oorig 6219 8 0 6227 1853 stty.o
2007-02-04- fix buglet introduced in r17351 in find_param(). Closes #1193Bernhard Reutner-Fischer
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-18- reinstate paranoia check in wrapf().Bernhard Reutner-Fischer
2007-01-18stop using global variable needlesslyDenis Vlasenko
2007-01-17- remove superfluous define that expanded to "!strcmp"Bernhard Reutner-Fischer
- remove some dead code
2007-01-17- reuse return code of vsnprintf to avoid pulling in strlenBernhard Reutner-Fischer
2007-01-17- merge display_changed() and display_all()Bernhard Reutner-Fischer
This one is a bit risky but did work for me in cursory testing..
2007-01-17- peruse get_terminal_width_height and remove legacy code for ancientBernhard Reutner-Fischer
slowaris versions.
2007-01-17- rewrite find_param to use index_in_str_arrayBernhard Reutner-Fischer
2007-01-17- manually inline tty_value_to_baud and remove string_to_baud_or_dieBernhard Reutner-Fischer
(cleanup)
2007-01-17- constify some read-only members and remove superfluous castsBernhard Reutner-Fischer
(cleanup)
2007-01-17- reuse option_mask32 for state-handling in mainBernhard Reutner-Fischer
- improve check for errors from fcntl
2007-01-12stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -Denis Vlasenko
stty -echo didn't work. Introduced by me :(
2007-01-12stty: rearrange functions, avoiding the need in forward declarations.Denis Vlasenko
No other code chages.
2007-01-01stty: fix width of a field for ppc32Denis Vlasenko
sort: fix -u to match coreutils 6.3 msh: compile fix (my fault)
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-09-29Yet another silly little byte saving. couldn't -> cannotDenis Vlasenko
2006-09-19stty: fix few bugs found in testingDenis Vlasenko
2006-09-19stty: reorder code, reducing need in forward declarations.Denis Vlasenko
added few missed bits of error checking for parameters.
2006-09-19stty: convert "enum mode_type" into unnamed enumDenis Vlasenko
(reduces code obfuscation); deindent set_mode; add _or_die suffixes to few functions
2006-09-19stty: reduce #ifdef forestDenis Vlasenko
2006-09-19stty: simplify linewrapping code a bitDenis Vlasenko
2006-09-19stty: style fixesDenis Vlasenko
2006-09-19stty: fix a longstanding FIXME (was able to die half-way setting term params)Denis Vlasenko
2006-09-08few random readability enhansements. No code changesDenis Vlasenko
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob 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-18Undo all of the ugliness and some of the bloat from 15412.Rob Landley
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-03-10Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley
the busybox binary) into enums (which don't).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-02-19rfelker writes in Bug 736: stty.c includes unneeded, obsolete header memory.hMike Frysinger
2006-01-30removed warning "comparison between signed and unsigned". Reduced size"Vladimir N. Oleynik"
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2004-09-15Add a missing brace, patch by Hideki IWAMOTOGlenn L McGrath
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
2003-03-19Major coreutils update.Manuel Novoa III
2002-06-06last_patch41 from vodz to fix stty -F and similarEric Andersen
2001-07-12Patch from vodz:Eric Andersen
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
2001-05-07Patch from Vladimir to remove testing stuff from sttyEric Andersen