Pavel, do I need to resend this to devel list and/or submit to the patch manager? Same question about the quick sort case sensitivity patch? Will they be included in 4.60? --- dir-old.c 2002-12-25 22:19:47.000000000 -0400 +++ dir.c 2003-01-11 21:25:52.000000000 -0400 @@ -501,7 +501,7 @@ } if (next_free) { - if (!dotdot_found) + if (!dotdot_found && strcmp (vfs_canon ("."), "/")) /* do not add .. in / */ add_dotdot_to_list (list, next_free++); do_sort (list, sort, next_free - 1, reverse, case_sensitive); } else { @@ -655,7 +655,7 @@ tree_store_end_check (); g_hash_table_destroy (marked_files); if (next_free) { - if (!dotdot_found) + if (!dotdot_found && strcmp (vfs_canon ("."), "/")) /* do not add .. in / */ add_dotdot_to_list (list, next_free++); do_sort (list, sort, next_free - 1, rev, case_sensitive); } else -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife
Attachment:
remove-dotdot-in-root
Description: Binary data