Mercurial > hg > octave-kai > gnulib-hg
changeset 4464:580114b1a865
(memcoll) [!HAVE_STRCOLL]: Clear errno.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 18 Jul 2003 17:49:25 +0000 |
parents | 7564fca8961e |
children | f7497a67f47b |
files | lib/memcoll.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/memcoll.c +++ b/lib/memcoll.c @@ -1,5 +1,5 @@ /* Locale-specific memory comparison. - Copyright (C) 1999, 2002 Free Software Foundation, Inc. + Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -83,6 +83,7 @@ diff = memcmp (s1, s2, s1len < s2len ? s1len : s2len); if (! diff) diff = s1len < s2len ? -1 : s1len != s2len; + errno = 0; #endif