lkml.org 
[lkml]   [2008]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: directory sort order no longer beginning with "." and ".."?
Ray Lee wrote:
> That's a good idea, though based on his description it's even easier.
> The LD_PRELOAD just needs to artificially introduce . and .., at the
> beginning and toss them out once it hits them in the list. No sorting
> required.
>
You'd have to be careful with respect to seekdir/telldir, but that may
not matter if its just an app-specific hack.

J


\
 
 \ /
  Last update: 2008-07-29 19:31    [W:0.049 / U:1.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site