freebsd-src/usr.bin/awk/run.c.diff
Ruslan Ermilov bd0e3681f9 Regen diffs.
2010-01-09 23:34:45 +00:00

16 lines
395 B
Diff

$FreeBSD$
Index: run.c
===================================================================
--- run.c (revision 201951)
+++ run.c (working copy)
@@ -653,7 +653,7 @@ Cell *relop(Node **a, int n) /* a[0 < a[1], etc. *
j = x->fval - y->fval;
i = j<0? -1: (j>0? 1: 0);
} else {
- i = strcmp(getsval(x), getsval(y));
+ i = strcoll(getsval(x), getsval(y));
}
tempfree(x);
tempfree(y);