mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-26 13:10:30 +00:00
Changed some #define strings to static const char [] variables. Tested ls
after changing, it worked.
This commit is contained in:
parent
deb9d4d765
commit
26a3adb244
@ -482,10 +482,10 @@ static const mode_t MBIT[] = {
|
||||
S_IROTH, S_IWOTH, S_IXOTH
|
||||
};
|
||||
|
||||
#define MODE1 "rwxrwxrwx"
|
||||
#define MODE0 "---------"
|
||||
#define SMODE1 "..s..s..t"
|
||||
#define SMODE0 "..S..S..T"
|
||||
static const char MODE1[] = "rwxrwxrwx";
|
||||
static const char MODE0[] = "---------";
|
||||
static const char SMODE1[] = "..s..s..t";
|
||||
static const char SMODE0[] = "..S..S..T";
|
||||
|
||||
/*
|
||||
* Return the standard ls-like mode string from a file mode.
|
||||
|
Loading…
Reference in New Issue
Block a user