Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Updates to header-comment documentation for the mkindex utility program. Fix a compiler warning on windows builds. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk | release |
| Files: | files | file ages | folders |
| SHA1: |
79b7902cdd1a621b8e175bc2efc39a87 |
| User & Date: | drh 2011-01-01 03:06:47.000 |
| Original Comment: | Updates to header-comment documentation for the mkindex utility program. Fix a compiler warning on windows builds. |
References
|
2011-01-04
| ||
| 15:00 | • New ticket [e6dbb46ce0] md5sum of ZIP archives from fixed checkins changes along time. artifact: f6294ae39b user: anonymous | |
| 10:41 | • New ticket [c9d454153e] Bad find_filename_changes. artifact: d9b946d42c user: anonymous | |
| 09:18 | • New ticket [74413366fe] Bad behaviour merging with renames. artifact: 65a9c731d0 user: anonymous | |
|
2011-01-03
| ||
| 22:11 | • Ticket [6883bdd1ef] fossil pull shows always 0 bytes received status still Open with 1 other change artifact: 9a971a3f12 user: drh | |
|
2011-01-02
| ||
| 16:41 | • New ticket [6883bdd1ef]. artifact: c1c38a0bda user: anonymous | |
Context
|
2011-01-02
| ||
| 07:37 | added Makefile.mingw32cross for Linux cross-compile to Windows check-in: c67c61b694 user: ron tags: trunk | |
|
2011-01-01
| ||
| 03:06 | Updates to header-comment documentation for the mkindex utility program. Fix a compiler warning on windows builds. check-in: 79b7902cdd user: drh tags: trunk, release | |
| 00:15 | Add the [/test-all-help] webpage used for testing. check-in: 26e269fef3 user: drh tags: trunk | |
Changes
Changes to src/cgi.c.
| ︙ | ︙ | |||
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
while( waitpid(0, 0, WNOHANG)>0 ){
nchildren--;
}
}
/* NOT REACHED */
fossil_exit(1);
#endif
}
/*
** Name of days and months.
*/
static const char *azDays[] =
| > > | 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
while( waitpid(0, 0, WNOHANG)>0 ){
nchildren--;
}
}
/* NOT REACHED */
fossil_exit(1);
#endif
/* NOT REACHED */
return 0;
}
/*
** Name of days and months.
*/
static const char *azDays[] =
|
| ︙ | ︙ |
Changes to src/mkindex.c.
| ︙ | ︙ | |||
11 12 13 14 15 16 17 | ** ** Author contact information: ** drh@hwaci.com ** http://www.hwaci.com/drh/ ** ******************************************************************************* ** | > > > | | > > > > > > > > > > | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
**
** Author contact information:
** drh@hwaci.com
** http://www.hwaci.com/drh/
**
*******************************************************************************
**
** This program scans Fossil source code files looking for special
** comments that indicate a command-line command or a webpage. This
** routine collects information about these entry points and then
** generates (on standard output) C code used by Fossil to dispatch
** to those entry points.
**
** The source code is scanned for comment lines of the form:
**
** WEBPAGE: /abc/xyz
**
** This comment should be followed by a function definition of the
** form:
**
** void function_name(void){
**
** This routine creates C source code for a constant table that maps
** webpage name into pointers to the function.
**
** We also scan for comments lines of this form:
**
** COMMAND: cmdname
**
** These entries build a constant table used to map command names into
** functions.
**
** Comment text following COMMAND: through the end of the comment is
** understood to be help text for the command specified. This help
** text is accumulated and a table containing the text for each command
** is generated. That table is used implement the "fossil help" command
** and the "/help" HTTP method.
**
** Multiple occurrances of WEBPAGE: or COMMAND: (but not both) can appear
** before each function name. In this way, webpages and commands can
** have aliases.
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>
|
| ︙ | ︙ |