A few more string duplicates found & eliminated
# size busybox_old busybox_unstripped text data bss dec hex filename 679693 2700 15632 698025 aa6a9 busybox_old 679523 2700 15632 697855 aa5ff busybox_unstripped
This commit is contained in:
@@ -5213,9 +5213,9 @@ int msh_main(int argc, char **argv)
|
||||
if (path->value == null) {
|
||||
/* Can be merged with same string elsewhere in bbox */
|
||||
if (geteuid() == 0)
|
||||
setval(path, "/sbin:/usr/sbin:/bin:/usr/bin");
|
||||
setval(path, bb_default_root_login_path);
|
||||
else
|
||||
setval(path, "/sbin:/usr/sbin:/bin:/usr/bin" + sizeof("/sbin:/usr/sbin"));
|
||||
setval(path, bb_default_login_path);
|
||||
}
|
||||
export(path);
|
||||
|
||||
|
Reference in New Issue
Block a user