mirror of
https://git.busybox.net/busybox.git
synced 2024-12-18 18:03:29 +08:00
ebe6d9d875
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
23 lines
518 B
C
23 lines
518 B
C
/* vi: set sw=4 ts=4: */
|
|
/*
|
|
* Utility routines.
|
|
*
|
|
* Copyright (C) (C) 2003 Vladimir Oleynik <dzo@simtreas.ru>
|
|
*
|
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
|
*/
|
|
#include "libbb.h"
|
|
|
|
/*
|
|
This function make special for recursive actions with usage
|
|
concat_path_file(path, filename)
|
|
and skipping "." and ".." directory entries
|
|
*/
|
|
|
|
char* FAST_FUNC concat_subpath_file(const char *path, const char *f)
|
|
{
|
|
if (f && DOT_OR_DOTDOT(f))
|
|
return NULL;
|
|
return concat_path_file(path, f);
|
|
}
|