Fossil

Check-in [9c604490]
Login

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

Overview
Comment:Unconditionally include ctype.h in the mkbuiltin.c utility program.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9c604490b3dfa08ce00c13664c40f7629c417bd441289d71ff95e623441631e7
User & Date: drh 2019-01-02 15:24:54.257
Context
2019-01-02
15:31
Enhancements to the hamburger menu mechanism. ... (check-in: 724a9b8f user: drh tags: trunk)
15:24
Unconditionally include ctype.h in the mkbuiltin.c utility program. ... (check-in: 9c604490 user: drh tags: trunk)
14:55
Make the 'n=all' query parameter work as expected for the /timeline?p= and /timeline?d= web pages. ... (check-in: 9eae2e5c user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/mkbuiltin.c.
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
** The makefiles use this utility to package various resources (large scripts,
** GIF images, etc) that are separate files in the source code as byte
** arrays in the resulting executable.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(__NetBSD__) || defined(__FreeBSD__)
#include <ctype.h> /* isspace() */
#endif


/*
** Read the entire content of the file named zFilename into memory obtained
** from malloc() and return a pointer to that memory.  Write the size of the
** file into *pnByte.
*/
static unsigned char *read_file(const char *zFilename, int *pnByte){







<
|
<
<







23
24
25
26
27
28
29

30


31
32
33
34
35
36
37
** The makefiles use this utility to package various resources (large scripts,
** GIF images, etc) that are separate files in the source code as byte
** arrays in the resulting executable.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <ctype.h>



/*
** Read the entire content of the file named zFilename into memory obtained
** from malloc() and return a pointer to that memory.  Write the size of the
** file into *pnByte.
*/
static unsigned char *read_file(const char *zFilename, int *pnByte){