Re: Sorting of MODULE-unused.sgml



Owen Taylor wrote:
> 
> I just realized that one reason that MODULE-unused.sgml is such a
> mess of CVS conflicts and random changes is that it is written
> in hash table order:
> 
>     while (($symbol, $symbol_desc) = each (%SymbolDocs)) {
> 
> Any objections if I change that to:
> 
>     for $symbol (sort keys %SymbolDocs) {
>        $symbol_desc = $SymbolDocs{$symbol}
> 
> ? It will cause some changes in cases where the -unused file isn't
> changed, but should help things a bunch in general.

Yes, that sounds like a good idea.

Damon






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]