summaryrefslogtreecommitdiff
path: root/console-tools/loadkmap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: use get_console_fd() as appropriate, and make it fail on open error -Denis Vlasenko2008-08-051-1/+1
| | | | | | | | | | | | | | | | get_console_fd_or_die(). function old new delta get_console_fd_or_die - 163 +163 loadkmap_main 211 201 -10 loadfont_main 440 430 -10 dumpkmap_main 218 208 -10 kbd_mode_main 158 146 -12 setkeycodes_main 156 143 -13 get_console_fd 163 - -163 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/5 up/down: 163/-218) Total: -55 bytes
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* - Rename getpty() to xgetpty() and adjust callers.Bernhard Reutner-Fischer2008-05-191-12/+13
| | | | | | | | | - Rewrite kbd_mode and setconsole - Introduce and use console_make_active() and xopen_xwrite_close() - honour buffer-reservation method as set by the user (dumpkmap, loadkmap) - shrink rtcwake and some console-tools Saves about 270 Bytes
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* u_short, ulong exterminatedDenis Vlasenko2006-12-191-2/+2
| | | | fdiskXXX: add a bit of sanity (not enough by far)
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-8/+1
| | | | | | | | | | 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.)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-8/+6
| | | | xlseek and fdlength() for the new mkswap.
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-13/+1
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Make use of libbb functions bb_xopen, bb_full_read, used #define'sGlenn L McGrath2003-11-211-20/+13
| | | | instead of static consts, avoid xmalloc.
* Major coreutils update.Manuel Novoa III2003-03-191-5/+5
|
* Add support for devfs device names.Matt Kraai2001-07-231-2/+2
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-1/+1
|
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+3
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-3/+3
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-4/+4
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Cleaned up error handling, TRUE/FALSE usage, and other minor issues.Matt Kraai2000-10-251-23/+13
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-5/+1
| | | | segfaulting or handling errors the same way themselves.
* Extract usage information into a separate file.Matt Kraai2000-07-161-8/+0
|
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-5/+5
|
* Added 'dumpkmap' to allow people to dump a binary keymap, which can then beEric Andersen2000-07-111-1/+1
| | | | | loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> -Erik
* Update files to reduce dependance on kernel version...Eric Andersen2000-07-081-2/+12
| | | | -Erik
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-2/+5
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* Oops.Erik Andersen2000-05-011-1/+0
| | | | -Erik
* Some accrued fixes/updates.Erik Andersen2000-05-011-0/+1
| | | | | | | | * cp/mv now accepts (and ignores) the -f flag, since it always does force anyway * tail can now accept -<num> commands (e.g. -10) for better compatibility with the standard tail command * added a simple id implementation; doesn't support supp. groups yet
* More minor updates to docs (and making apps behave as the docsErik Andersen2000-04-191-11/+12
| | | | | suggest they should) -Erik
* My latest ramblings.Erik Andersen2000-03-231-1/+3
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-50/+53
| | | | -Erik
* Fixed up copyright notices and suchEric Andersen1999-10-201-0/+21
|
* Added sfdisk. Ststic-ified a bunch of stuff.Eric Andersen1999-10-191-2/+2
|
* More stuff.Eric Andersen1999-10-181-1/+1
| | | | -Erik
* Initial revision0_29alpha2Eric Andersen1999-10-051-0/+68