libbb: clarify what bb_mode_string() generates
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -440,9 +440,8 @@ void *xmmap_anon(size_t size) FAST_FUNC;
|
||||
# define cached_pagesize(var) (var)
|
||||
#endif
|
||||
|
||||
|
||||
//TODO: supply a pointer to char[11] buffer (avoid statics)?
|
||||
extern char *bb_mode_string(char buf[12], mode_t mode) FAST_FUNC;
|
||||
/* Generate ls-style "mode string" like "-rwsr-xr-x" or "drwxrwxrwt" */
|
||||
extern char *bb_mode_string(char buf[11], mode_t mode) FAST_FUNC;
|
||||
extern int is_directory(const char *name, int followLinks) FAST_FUNC;
|
||||
enum { /* cp.c, mv.c, install.c depend on these values. CAREFUL when changing them! */
|
||||
FILEUTILS_PRESERVE_STATUS = 1 << 0, /* -p */
|
||||
|
Reference in New Issue
Block a user