Followup to: <[EMAIL PROTECTED]> By author: Tommy Reynolds <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Then it is broken in several ways. > > First, file systems are not required to implement ".." (only "." is > magical, ".." is a courtesy). >
Sez who? Realistically, most programs that display a list of filenames and has "up one level" as part of the list (not all of them do it that way) probably expect to get ".." in there to display this. > Second, skipping the first two entries carries an implied assumtion > about the file name sorting order that is not portable in a > non-US-ASCII world. Doesn't have anything to do with sorting order or US-ASCII, it has to do with readdir order. If nothing else, it would be highly surprising if "." and ".." weren't first; it's certainly a de facto standard, if not de jure. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/