Changeset ad95991 in git


Ignore:
Timestamp:
14/01/14 02:23:57 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
4f70ebc
Parents:
6a1c384
git-author:
Olly Betts <olly@…> (14/01/14 00:30:15)
git-committer:
Olly Betts <olly@…> (14/01/14 02:23:57)
Message:

src/img.c: Fix my_strcasecmp() to handle top-bit set characters
better.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r6a1c384 rad95991  
     1Tue Jan 14 00:29:35 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * src/img.c: Fix my_strcasecmp() to handle top-bit set characters
     4          better.
     5
    16Mon Jan 13 04:20:11 GMT 2014  Olly Betts <olly@survex.com>
    27
  • src/img.c

    r6a1c384 rad95991  
    188188# define my_strcasecmp strcasecmp
    189189#else
    190 /* What about top bit set chars? */
    191190int my_strcasecmp(const char *s1, const char *s2) {
    192    register int c1, c2;
     191   unsigned char c1, c2;
    193192   do {
    194193      c1 = *s1++;
Note: See TracChangeset for help on using the changeset viewer.