~ubuntu-branches/ubuntu/utopic/gettext/utopic

« back to all changes in this revision

Viewing changes to gettext-runtime/gnulib-lib/c-strncasecmp.c

  • Committer: Colin Watson
  • Date: 2010-08-01 21:36:08 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: cjwatson@canonical.com-20100801213608-yy7vkm8lpatep3ci
merge from Debian 0.18.1.1-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* c-strncasecmp.c -- case insensitive string comparator in C locale
2
 
   Copyright (C) 1998-1999, 2005-2006 Free Software Foundation, Inc.
 
2
   Copyright (C) 1998-1999, 2005-2006, 2009-2010 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
6
 
   the Free Software Foundation; either version 2, or (at your option)
 
6
   the Free Software Foundation; either version 3, or (at your option)
7
7
   any later version.
8
8
 
9
9
   This program is distributed in the hope that it will be useful,
40
40
      c2 = c_tolower (*p2);
41
41
 
42
42
      if (--n == 0 || c1 == '\0')
43
 
        break;
 
43
        break;
44
44
 
45
45
      ++p1;
46
46
      ++p2;