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:
@ -9,8 +9,6 @@
|
||||
*/
|
||||
|
||||
#include "libbb.h"
|
||||
#include <utime.h>
|
||||
#include <errno.h>
|
||||
|
||||
int copy_file(const char *source, const char *dest, int flags)
|
||||
{
|
||||
@ -77,7 +75,7 @@ int copy_file(const char *source, const char *dest, int flags)
|
||||
}
|
||||
|
||||
/* Recursively copy files in SOURCE. */
|
||||
if ((dp = bb_opendir(source)) == NULL) {
|
||||
if ((dp = opendir(source)) == NULL) {
|
||||
status = -1;
|
||||
goto preserve_status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user