aboutsummaryrefslogtreecommitdiff
path: root/libbb/last_char_is.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* diff: fix -q exit codeDenis Vlasenko2006-12-161-6/+6
| | | | last_char_is: sacrifice 9 bytes but avoid double-scan
* small optimizationDenis Vlasenko2006-11-241-4/+3
|
* tar: fix multiple -t and/or -v options handling.Denis Vlasenko2006-11-241-8/+7
| | | | do not process list of files to tar up in reverse order.
* Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate."Robert P. J. Day"2006-07-101-14/+1
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Save 10 bytes or so, last_patch_70 from Vladimir N. OleynikGlenn L McGrath2002-12-031-8/+6
|
* Avoid a segfault (detected by Fabio FerrariEric Andersen2001-07-071-1/+4
| | | | | | <fabio.ferrari@digitro.com.br> in the wget applet) when concat_path_file() or last_char_is() were fed a NULL. -Erik
* Add some missing includes to kill warnings when building with the defaultManuel Novoa III2001-06-291-0/+1
| | | | | | | Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
* Patch from Vladimir:Eric Andersen2001-05-151-2/+2
| | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb
* This is Vladimir's update to last_char_is(). Since 'char *' isEric Andersen2001-05-071-4/+7
| | | | | the least common denominator, I modified it to use that (not const), which will minimize the need for casting elsewhere.
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-04-261-0/+33
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik