summaryrefslogtreecommitdiff
path: root/libbb/lineedit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* apply four post-1.8.2 patches; bump to 1.8.31_8_3Denis Vlasenko2008-03-211-4/+5
|
* read_line_input: fix it to not do any fancy editing if echoing is disabled.Denis Vlasenko2007-10-201-2/+10
| | | | | | | | | | | | | | ash: make read handling both more correct and smaller read_line_input 4037 4101 +64 input_backward 140 139 -1 readcmd 1079 1070 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 65/-10) Total: 54 bytes text data bss dec hex filename 777575 1000 9532 788107 c068b busybox_old 777629 1000 9532 788161 c06c1 busybox_unstripped
* xatonum.h: add commentDenis Vlasenko2007-10-181-1/+1
| | | | | | | lineedit: fix typo in comment httpd: support for proxying connection to other http server (by Alex Landau <landau_alex@yahoo.com>)
* printf("%s\n") -> puts()Denis Vlasenko2007-10-011-1/+1
|
* remove stray semicolonDenis Vlasenko2007-09-281-1/+1
|
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-8/+8
|
* lineedit: plug memory leakDenis Vlasenko2007-09-271-5/+12
|
* documentation bits in comments, no code changesDenis Vlasenko2007-09-251-0/+5
|
* introduce and use bb_basename()Denis Vlasenko2007-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped
* moved biggest stack buffers to malloc space, or made their size configurableDenis Vlasenko2007-06-101-22/+23
| | | | | | | | | | | | | | | | | (8k of shell line edit buffer is an overkill) # make ARCH=i386 bloatcheck function old new delta read_line_input 3933 3967 +34 ifaddrlist 348 345 -3 do_loadfont 208 191 -17 edit_file 840 819 -21 .rodata 129112 129080 -32 uncompress 1305 1268 -37 loadfont_main 566 495 -71 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 34/-181) Total: -147 bytes
* delete tons of extra #includesDenis Vlasenko2007-05-311-1/+1
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* lineedit: state->hist_file doesn't exist if !FEATURE_EDITING_SAVEHISTORY,Denis Vlasenko2007-04-151-0/+2
| | | | #ifdef it out
* lineedit: nuke two unused variables and code which sets themDenis Vlasenko2007-04-141-9/+0
| | | | | | applets: do not even try to read config if run by real root msh: use named constants (O_RDONLY etc) in open() instead of magic numbers, other minor code size reduction.
* lineedit: do not try to open NULL history fileDenis Vlasenko2007-04-141-2/+2
|
* fix inadvertently leaked PWD_BUFFER_SIZEDenis Vlasenko2007-03-181-1/+1
|
* Do not fail password check if shadow password does not exist -Denis Vlasenko2007-03-131-5/+8
| | | | | | | | | | | | | | | | | | | | | | fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes
* syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko2007-02-111-1/+1
| | | | libbb: rename xgetcwd and xreadlink
* lineedit: add missing #if/#endifDenis Vlasenko2007-02-031-0/+2
| | | | init: fix warnings
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-291-4/+4
|
* fix warning from needlessly-global functionsDenis Vlasenko2007-01-221-2/+2
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-3/+1
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* exterminate u_intXXX.Denis Vlasenko2007-01-221-2/+2
| | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6
* move shell/cmdedit.c -> libbb/lineedit.cDenis Vlasenko2007-01-221-0/+1798