/ Check-in [bfd75f47]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Always include the ctype.h header in the spellfix.c extension.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bfd75f471a607b442d8cd8a7070491a158e8fb1a
User & Date: drh 2014-03-05 19:36:52
Context
2014-03-06
00:28
Better support for MinGW 4.x. check-in: 170e0585 user: mistachkin tags: trunk
2014-03-05
23:12
Merge compiler-warning fixes from trunk. check-in: a1f2b042 user: drh tags: sessions
19:36
Always include the ctype.h header in the spellfix.c extension. check-in: bfd75f47 user: drh tags: trunk
19:13
Avoid running a couple of test cases that use realloc() extensively if SQLITE_MEMDEBUG is defined. check-in: e406d4bb user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/misc/spellfix.c.

    22     22   # include <stdio.h>
    23     23   # include <stdlib.h>
    24     24   # include <assert.h>
    25     25   # define ALWAYS(X)  1
    26     26   # define NEVER(X)   0
    27     27     typedef unsigned char u8;
    28     28     typedef unsigned short u16;
    29         -# include <ctype.h>
    30     29   #endif
           30  +#include <ctype.h>
    31     31   
    32     32   #ifndef SQLITE_OMIT_VIRTUALTABLE
    33     33   
    34     34   /*
    35     35   ** Character classes for ASCII characters:
    36     36   **
    37     37   **   0   ''        Silent letters:   H W