aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libbb/bb_make_directory() recognize Windows drives as root directoriesNguyễn Thái Ngọc Duy2009-04-231-0/+8
|
* libbb/bb_make_directory() workaround mkdir(".")Nguyễn Thái Ngọc Duy2009-04-231-0/+12
|
* libbb/bb_make_directory() remove trailing slashes before passing to mkdir() ↵Nguyễn Thái Ngọc Duy2009-04-231-4/+5
| | | | because Windows does not like it
* libbb/xfuncs.c: workaround vsnprintf(NULL, 0) on WindowsNguyễn Thái Ngọc Duy2009-04-231-15/+23
|
* libbb/message.c: convert /dev/null to NULNguyễn Thái Ngọc Duy2009-04-231-0/+5
|
* libbb/execable: make find_execable() recognize semicolon as path separator ↵Nguyễn Thái Ngọc Duy2009-04-231-0/+7
| | | | in PATH
* libbb/dump.c: _argv is already defined by stdlib.hNguyễn Thái Ngọc Duy2009-04-231-0/+1
|
* redefine CONFIG_BUSYBOX_EXEC_PATH to get full pathNguyễn Thái Ngọc Duy2009-04-231-0/+9
|
* adapt it to be buildableNguyễn Thái Ngọc Duy2009-04-235-1/+27
|
* Kbuild/Config.in: add CONFIG_MINGW and imported files to build systemNguyễn Thái Ngọc Duy2009-04-231-17/+34
|
* update imported git files to adapt to new environmentNguyễn Thái Ngọc Duy2009-04-2312-79/+108
|
* mingw.c: prefer busybox sh insteadNguyễn Thái Ngọc Duy2009-04-231-1/+35
|
* mingw.c: general cleanup and new missing functionsNguyễn Thái Ngọc Duy2009-04-231-1/+32
|
* mingw.c: make fopen support /dev/null (needed for cmp iirc)Nguyễn Thái Ngọc Duy2009-04-231-0/+8
|
* mingw_spawnve(): transfer O_APPEND attribute to child processesNguyễn Thái Ngọc Duy2009-04-231-0/+60
|
* path_lookup(): look for .exe in absolute path tooNguyễn Thái Ngọc Duy2009-04-231-1/+8
|
* mingw_getcwd(): pointer can be NULLNguyễn Thái Ngọc Duy2009-04-231-3/+3
|
* mingw_utime(): times can be NULLNguyễn Thái Ngọc Duy2009-04-231-2/+4
|
* import (unchanged) git files from e56b799d6ad8afba4168fffa7218d44c041a72d2Nguyễn Thái Ngọc Duy2009-04-2313-0/+8540
|
* fixes up to 1.6.1Nguyễn Thái Ngọc Duy2009-04-231-3/+8
|
* delete tons of extra #includesvda2007-05-3113-38/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use "glibc errno" trick not only for ash, but for entire busyboxvda2007-05-314-23/+3
| | | | | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes git-svn-id: svn://busybox.net/trunk/busybox@18716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixesvda2007-05-302-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* verror_msg: don't printf(NULL)vda2007-05-291-3/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage.c: remove reference to busybox.hvda2007-05-264-4/+4
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xpipe: introduce (saves ~170 bytes)vda2007-05-261-14/+18
| | | | | | | | udhcp/signalpipe.c: use pipe instead of socketpair. git-svn-id: svn://busybox.net/trunk/busybox@18695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix handling of unmatched ${name (without closing '}') -vda2007-05-242-4/+7
| | | | | | | | | | was eating all remaining input, potentially megabytes. nofork: save/restore die_jmp too nofork: use -2222 instead of -111 as "special" return valur for zero (-111 is used by some applets. -2222 won't fit in exitcode and thus safer) git-svn-id: svn://busybox.net/trunk/busybox@18680 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more compile fixes from randomconfig runvda2007-05-171-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix trivial compile errors found by randomconfig runvda2007-05-171-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cryptpw: forgot svn add... how typical of me :(vda2007-05-082-5/+50
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18588 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cryptpw: new applet (a bit less than 3k added)vda2007-05-082-1/+5
| | | | | | | | (by Thomas Lundquist <lists@zelow.no>) git-svn-id: svn://busybox.net/trunk/busybox@18586 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix suid config handlingvda2007-05-021-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18547 69ca8d6d-28ef-0310-b511-8ec308f3f277
* test: code size saving, no logic changesvda2007-05-011-22/+126
| | | | | | | | | | | | | | | | | | ps: fix warning, make a bit smaller kill -l: make smaller & know much more signals function old new delta get_signum 121 153 +32 kill_main 826 843 +17 get_signame 44 36 -8 signals 252 224 -28 .rodata 131955 131923 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/3 up/down: 49/-68) Total: -19 bytes git-svn-id: svn://busybox.net/trunk/busybox@18534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: fix nofork + ctrl-Z clobbering of globalsvda2007-04-281-12/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18521 69ca8d6d-28ef-0310-b511-8ec308f3f277
* find_root_device: use lstat - don't follow linksvda2007-04-211-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: begin fixing non-functional job controlvda2007-04-211-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18505 69ca8d6d-28ef-0310-b511-8ec308f3f277
* procps: remove all global variablesvda2007-04-192-2/+2
| | | | | | | | | | | text data bss dec hex filename 1462 14 24 1500 5dc busybox.t2/procps/ps.o 1484 0 0 1484 5cc busybox.t3/procps/ps.o 3122 0 252 3374 d2e busybox.t1/procps/top.o 3117 0 0 3117 c2d busybox.t3/procps/top.o git-svn-id: svn://busybox.net/trunk/busybox@18497 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: add -o tty and -o rss supportvda2007-04-191-7/+23
| | | | | | | | 1373 14 24 1411 583 busybox.t1/procps/ps.o 1462 14 24 1500 5dc busybox.t2/procps/ps.o git-svn-id: svn://busybox.net/trunk/busybox@18496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* loop device code: readability improvementvda2007-04-191-10/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: state->hist_file doesn't exist if !FEATURE_EDITING_SAVEHISTORY,vda2007-04-151-0/+2
| | | | | | | #ifdef it out git-svn-id: svn://busybox.net/trunk/busybox@18453 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: nuke two unused variables and code which sets themvda2007-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. git-svn-id: svn://busybox.net/trunk/busybox@18439 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: do not try to open NULL history filevda2007-04-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hush: use NOFORK applets as appropriate. Net reduction of code size.vda2007-04-141-41/+48
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* teach find_root_device to deal with /dev/ subdirsvda2007-04-133-15/+57
| | | | | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>) git-svn-id: svn://busybox.net/trunk/busybox@18435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make xsocket die with address family printed (if VERBOSE_RESOLUTION_ERRORS=y)vda2007-04-131-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18431 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: remove setpgrp call (makes it work from shell prompt again).vda2007-04-122-15/+4
| | | | | | | | login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes. git-svn-id: svn://busybox.net/trunk/busybox@18416 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pass a copy of argv[i] to NOFORK applets (they may permute it etc).vda2007-04-121-14/+18
| | | | | | | set/save/restore more shared global variables whan call one applet from another git-svn-id: svn://busybox.net/trunk/busybox@18415 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵aldot2007-04-121-0/+16
| | | | | | | | | a bit. -916 byte git-svn-id: svn://busybox.net/trunk/busybox@18413 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixes. No code changesvda2007-04-125-17/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18409 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_full_fd_action: remove potential xmalloc from NOFORK pathvda2007-04-114-19/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes git-svn-id: svn://busybox.net/trunk/busybox@18408 69ca8d6d-28ef-0310-b511-8ec308f3f277