pike.git/
lib/
modules/
Array.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
1999-06-01
1999-06-01 09:52:39 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
6a18c830c080a704465f60140511de2a2cfa75f6 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix (oops)
Rev: lib/modules/Array.pmod:1.31
476:
// sort with care of numerical sort: // "abc4def" before "abc30def"
-
int dwim_sort_func(string
a
,string
b
)
+
int dwim_sort_func(string
a0
,string
b0
)
{ string a2="",b2=""; int a1,b1;
487:
if (a1>b1) return 1; if (a1<b1) return 0; if (a2==b2) return 0;
-
return sort_func(a2,b2);
+
return
dwim_
sort_func(a2,b2);
} // sort with no notice of contents in paranthesis,