aboutsummaryrefslogtreecommitdiff
path: root/libbb/last_char_is.c
AgeCommit message (Collapse)Author
2006-11-24small optimizationDenis Vlasenko
2006-11-24tar: fix multiple -t and/or -v options handling.Denis Vlasenko
do not process list of files to tar up in reverse order.
2006-07-10Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate."Robert P. J. Day"
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2002-12-03Save 10 bytes or so, last_patch_70 from Vladimir N. OleynikGlenn L McGrath
2001-07-07Avoid a segfault (detected by Fabio FerrariEric Andersen
<fabio.ferrari@digitro.com.br> in the wget applet) when concat_path_file() or last_char_is() were fed a NULL. -Erik
2001-06-29Add some missing includes to kill warnings when building with the defaultManuel Novoa III
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.
2001-05-15Patch from Vladimir:Eric Andersen
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
2001-05-07This is Vladimir's update to last_char_is(). Since 'char *' isEric Andersen
the least common denominator, I modified it to use that (not const), which will minimize the need for casting elsewhere.
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik