aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* setserial: Fix typo: s/baund_rate/baud_rate/gBernhard Reutner-Fischer2013-03-221-2/+2
| | | | | | as noted by Christoph Handel opensource at macht-blau.org Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sendmail: code shrink on top of previous patchesDenys Vlasenko2013-03-181-42/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: don't add multiple To: headersAaro Koskinen2013-03-181-3/+16
| | | | | | | | When adding To: header, add only a single header. If there are multiple addresses, make it multiline. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: don't add To: header if it already existsAaro Koskinen2013-03-181-2/+7
| | | | | | | If the message we are sending already has To: header, don't add a new one. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: support long header fields for recipientsAaro Koskinen2013-03-181-1/+18
| | | | | | | Support long header fields in To:, Cc: and Bcc: headers. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: support address listsAaro Koskinen2013-03-181-4/+29
| | | | | | | | Headers To:, Cc: and Bcc: may have a list of comma-separated addresses. Add support for that. Commas inside double quotes are ignored. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: support addresses inside angle bracketsAaro Koskinen2013-03-181-2/+20
| | | | | | | | When we extract addresses from the e-mail, try to first check for an address inside angle brackets. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: don't mangle e-mail headersAaro Koskinen2013-03-181-1/+3
| | | | | | | | Leave the original To: and Cc: headers untouched, when we try to extract addresses from them. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: avoid sending mail to wrong addressesAaro Koskinen2013-03-181-1/+16
| | | | | | | | | | | | | | If we get an address we cannot parse properly, we currently just strip the unknown characters and still try to send it. This is considered harmful as the resulting address may still be valid but different from what the user originally intended. Instead, skip sending to an address we cannot fully understand and print the characters what we have scanned so far. Leading and trailing whitespace is allowed and silently stripped. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_minix: use get_volume_size_in_bytes instead of local versionDenys Vlasenko2013-03-181-63/+14
| | | | | | | | | | | | Hopefully this also closes 4730 function old new delta valid_offset 55 - -55 mkfs_minix_main 2925 2674 -251 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-306) Total: -306 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix build failureDenys Vlasenko2013-03-171-2/+1
| | | | | | The error was "error: 'struct globals' has no member named 'parser'" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nc: fix build failure ("subscripted value is neither array nor pointer")Denys Vlasenko2013-03-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: add comment about failures in source builtin. No code changes.Denys Vlasenko2013-03-171-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: source builtin should override $N only if it has argsDenys Vlasenko2013-03-173-2/+19
| | | | | | | function old new delta builtin_source 174 184 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: read $HOME/.profile instead of $(pwd)/.profileStefan Hellermann2013-03-151-2/+9
| | | | | | | | | | | | ash --login should read ~/.profile instead of .profile in the current directory. I noticed it while trying to figure out why /root/.profile is only read sometimes. function old new delta ash_main 1374 1398 +24 Signed-off-by: Stefan Hellermann <stefan@the2masters.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: move code to allow setting $HOME in /etc/profileStefan Hellermann2013-03-151-13/+9
| | | | | | | | | | move HISTFILE=$HOME/.ash_history below reading /etc/profile, so that /etc/profile can set $HOME. HOME can be unset when directly invoking ash --login from init without going through getty. Signed-off-by: Stefan Hellermann <stefan@the2masters.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: code shrinkDenys Vlasenko2013-03-151-4/+10
| | | | | | | | | | | function old new delta status_line_bold_errno - 32 +32 colon 2891 2873 -18 file_insert 354 313 -41 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 32/-59) Total: -27 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: fix adjustment of buffer on partial file readRon Yorston2013-03-151-1/+1
| | | | | | | | The second argument to text_hole_delete was incorrect: it should be a pointer to the end of the hole. Signed-off-by: Ron Yorston <rmy@tigress.co.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sysklogd: trim help textDenys Vlasenko2013-03-151-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* traceroute: free some memory allocated by xzalloc()Guilherme Maciel Ferreira2013-03-151-2/+13
| | | | | Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flash_eraseall: implement -NAlexander Shiyan2013-03-151-7/+8
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nanddump: fix build if nandwrite isn't enabledAlexander Shiyan2013-03-151-4/+4
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping[6]: accept and ignore -n. Code shrinkDenys Vlasenko2013-03-151-27/+34
| | | | | | | function old new delta print_stats_and_exit 270 232 -38 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpd: also add -I ADDR to help textDenys Vlasenko2013-03-141-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpd: add -I LOCAL_ADDR optionDenys Vlasenko2013-03-131-4/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: Fix handling of functions with empty bodyBernhard Reutner-Fischer2013-03-132-1/+21
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* losetup: fix util-linux compatibilityMandeep Singh Baines2013-03-121-51/+65
| | | | | | | | | | | Added -a support. Also made sure -f works as follows: losetup [-r] [-o offset] {-f|loopdev} file Removed support for 'losetup -r' with no arguments. Signed-off-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* readlink: note that our -f is really -eMike Frysinger2013-03-121-1/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* readlink: uClibc supports automatic allocation too nowMike Frysinger2013-03-121-1/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* platform: use KERNEL_VERSION to simplify uClibc version checkingMike Frysinger2013-03-123-16/+13
| | | | | | | | This makes reading the logic (as well as adding new code) a lot simpler, and fixes one or two cases that were broken due to incorrect sub-version tests. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* udhcpc: use readlink rather than realpathMike Frysinger2013-03-121-1/+1
| | | | | | | | | The realpath utility requires all paths exist when canonicalizing symlinks. If /etc/resolv.conf points to a tmpfs, then it might not exist initially. Use `readlink -f` so that we follow all symlinks that are available. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hostid: do not output sign-extended host id. Closes 6056Denys Vlasenko2013-03-041-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* archival: note implicit dependencies between lzop & bbunzipMike Frysinger2013-03-032-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* decompress_unlzma: move function, no code changesDenys Vlasenko2013-03-011-7/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* decompress_unlzma: 10% speedup in "small" codeDenys Vlasenko2013-03-011-1/+1
| | | | | | | | text data bss dec hex filename 1796 0 0 1796 704 decompress_unlzma.o 1801 0 0 1801 709 decompress_unlzma.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* decompress_unlzma: make "fast" version a bit smallerDenys Vlasenko2013-03-011-10/+4
| | | | | | | | | | It is not slower. In fact it seems a tiny bit faster too. text data bss dec hex filename 2827 0 0 2827 b0b decompress_unlzma.o 2797 0 0 2797 aed decompress_unlzma.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lzop: fiq -q and OPTION_DECOMPRESS mismatchDenys Vlasenko2013-03-011-15/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bbunzip: fix order of flags vs bit definesMike Frysinger2013-02-281-4/+4
| | | | | | | Too much code shuffling. Reported-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* bbunzip: ignore the -q flag with the decompressorsMike Frysinger2013-02-281-6/+7
| | | | | | | | The -q flag is used in shell scripts for suppressing output. Have our applets swallow the flag for compatibility. Reported-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ifupdown: support "source" stanza in /etc/network/interfacesDenys Vlasenko2013-02-281-6/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* zcat: fix "zcat FILE" trying to do detection twiceDenys Vlasenko2013-02-281-8/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* zcat: if seamless uncompressors are defined, autodetect file's formatDenys Vlasenko2013-02-281-14/+40
| | | | | | | | | function old new delta bbunpack 526 622 +96 packed_usage 29335 29341 +6 gunzip_main 64 67 +3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix error message on failure to oen /dev/null; fix zcat's help textDenys Vlasenko2013-02-281-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* code shrink in check_errors_in_children()Denys Vlasenko2013-02-281-3/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pgrep: fix a "missing closing paren" build errorDenys Vlasenko2013-02-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifplugd: make -k send SIGINT, not SIGQUITDenys Vlasenko2013-02-281-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pgrep: fix -x optionBernhard Walle2013-02-281-1/+1
| | | | | | | | | | | | | | Because when -x is used (exact match), then we cannot compile the regular expression with REG_NOSUB. The manual page regcomp(3) states in section "Byte offsets": Unless REG_NOSUB was set for the compilation of the pattern buffer, it is possible to obtain substring match addressing information. The problem was detected on an ARM system with glibc 2.16. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix config help textDenys Vlasenko2013-02-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make --help return exitcode 0. Closes 5612Denys Vlasenko2013-02-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* run-parts: fix unicode creep in --helpPeter Korsgaard2013-02-281-3/+3
| | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>