diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ls/cmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ls/cmp.c b/bin/ls/cmp.c index db72a1d..ec30ff5 100644 --- a/bin/ls/cmp.c +++ b/bin/ls/cmp.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cmp.c,v 1.2 1994/09/24 02:55:52 davidg Exp $ + * $Id: cmp.c,v 1.3 1996/12/14 06:03:27 steve Exp $ */ #ifndef lint @@ -53,14 +53,14 @@ int namecmp(a, b) const FTSENT *a, *b; { - return (strcmp(a->fts_name, b->fts_name)); + return (strcoll(a->fts_name, b->fts_name)); } int revnamecmp(a, b) const FTSENT *a, *b; { - return (strcmp(b->fts_name, a->fts_name)); + return (strcoll(b->fts_name, a->fts_name)); } int |