--- ls.c 2008-04-03 19:57:46.000000000 -0800
+++ /tmp/ls.c 2009-03-07 07:38:08.000000000 -0900
@@ -340,6 +340,14 @@
}
argc -= optind;
argv += optind;
+ /* Force -FGP */
+ f_type = 1;
+ f_slash = 0;
+ setenv("CLICOLOR", "", 1);
+ fts_options &= ~FTS_COMFOLLOW;
+ fts_options &= ~FTS_LOGICAL;
+ fts_options |= FTS_PHYSICAL;
+ /* End force -FGP */
/* Root is -A automatically unless -I. */
if (!f_listdot && getuid() == (uid_t)0 && !f_noautodot)