aboutsummaryrefslogtreecommitdiff
path: root/libbb/concat_path_file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-1/+1
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change interface to bb_xasprintf() - more perfect for me.vodz2005-09-291-4/+1
| | | | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum git-svn-id: svn://busybox.net/trunk/busybox@11694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syntax/whitespace touchupvapier2005-05-091-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)sandman2002-07-191-2/+1
| | | | | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes. git-svn-id: svn://busybox.net/trunk/busybox@5066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-3/+22
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest patch from vodz. Adds a check for divide by zero in the posixandersen2001-08-021-1/+1
| | | | | | | | | math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere. git-svn-id: svn://busybox.net/trunk/busybox@3181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid a segfault (detected by Fabio Ferrariandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@3027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add some missing includes to kill warnings when building with the defaultmjn32001-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. git-svn-id: svn://busybox.net/trunk/busybox@2950 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir: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 git-svn-id: svn://busybox.net/trunk/busybox@2647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Vladimir to simplify concat_path_file() andandersen2001-05-071-11/+7
| | | | | | | make it less likely to break. git-svn-id: svn://busybox.net/trunk/busybox@2565 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry suggested using concat_path_file() would be an even safer betandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply Vladimir's latest cleanup patch.andersen2001-04-091-0/+24
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2288 69ca8d6d-28ef-0310-b511-8ec308f3f277