Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
This commit is contained in:
parent
6dce0b6fa7
commit
d921b2ecc0
143 changed files with 711 additions and 1721 deletions
|
@ -7,7 +7,6 @@
|
|||
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "libbb.h"
|
||||
|
||||
char *bb_simplify_path(const char *path)
|
||||
|
@ -15,7 +14,7 @@ char *bb_simplify_path(const char *path)
|
|||
char *s, *start, *p;
|
||||
|
||||
if (path[0] == '/')
|
||||
start = bb_xstrdup(path);
|
||||
start = xstrdup(path);
|
||||
else {
|
||||
s = xgetcwd(NULL);
|
||||
start = concat_path_file(s, path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue