/* long filenames have '/' as the first character */
if (ar.formatted.name[0] == '/') {
+#if ENABLE_FEATURE_AR_LONG_FILENAMES
unsigned long_offset;
-#if ENABLE_FEATURE_AR_LONG_FILENAMES
if (ar.formatted.name[1] == '/') {
/* If the second char is a '/' then this entries data section
* stores long filename for multiple entries, they are stored
};
+/* THIS IS A "SAFE" APPLET, main() MAY BE CALLED INTERNALLY FROM SHELL */
+/* BE CAREFUL! */
+
int ls_main(int argc, char **argv);
int ls_main(int argc, char **argv)
{
USE_FEATURE_AUTOWIDTH(char *terminal_width_str = NULL;)
USE_FEATURE_LS_COLOR(char *color_opt;)
- setvbuf(stdout, bb_common_bufsiz1, _IOFBF, BUFSIZ);
-
#if ENABLE_FEATURE_LS_TIMESTAMPS
time(¤t_time_t);
#endif