[BusyBox-cvs] busybox/coreutils ls.c,1.105,1.106

Manuel Novoa III mjn3 at busybox.net
Mon Mar 8 10:54:31 UTC 2004


Update of /var/cvs/busybox/coreutils
In directory nail:/tmp/cvs-serv21292/coreutils

Modified Files:
	ls.c 
Log Message:
Fix broken sort order flags.


Index: ls.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/ls.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- a/ls.c	6 Mar 2004 09:12:55 -0000	1.105
+++ b/ls.c	8 Mar 2004 10:54:29 -0000	1.106
@@ -920,10 +920,10 @@
 # endif
 #endif
 #ifdef CONFIG_FEATURE_LS_SORTFILES
-	SORT_ORDER_REVERSE,       	/* r */
 	SORT_SIZE,               	/* S */
+	SORT_EXT,                	/* X */
+	SORT_ORDER_REVERSE,       	/* r */
 	SORT_VERSION,             	/* v */
-	SORT_EXT,                	/* v */
 #endif
 #ifdef CONFIG_FEATURE_LS_FILETYPES
 	LIST_FILETYPE | LIST_EXEC,	/* F */
@@ -1110,7 +1110,6 @@
 		cur = cur->next;
 	}
 
-
 	if (all_fmt & DISP_NOLIST) {
 #ifdef CONFIG_FEATURE_LS_SORTFILES
 		shellsort(dnp, nfiles);




More information about the busybox-cvs mailing list