summaryrefslogtreecommitdiff
path: root/libbb/concat_path_file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid a segfault (detected by Fabio FerrariEric Andersen2001-07-071-2/+5
| | | | | | <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
* A patch from Vladimir to simplify concat_path_file() andEric Andersen2001-05-071-11/+7
| | | | make it less likely to break.
* Larry suggested using concat_path_file() would be an even safer betEric Andersen2001-05-041-1/+3
| | | | | | | for 'which'. I ageed, so I whipped this up -- which revealed a bug in concat_path_file. It turns out that that a '/' can be appended from either the path _or_ the filename, but only the former was checked. -Erik
* Apply Vladimir's latest cleanup patch.Eric Andersen2001-04-091-0/+24
-Erik