Fossil
Check-in [1d7afcdf]
Not logged in

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

Overview
Comment:Remove the sigalrm_handler() function on windows builds as it is never called there.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1d7afcdff65e55a7821f8f4c7051c7cab98f0b127cdce382c731238a8074b3cf
User & Date: drh 2019-08-13 20:44:37
Context
2019-08-13
23:29
Additional documentation on CGI configuration options. Updates to the change log. New hyperlinks interconnecting the various documents. check-in: fbc3b2f7 user: drh tags: trunk
20:44
Remove the sigalrm_handler() function on windows builds as it is never called there. check-in: 1d7afcdf user: drh tags: trunk
20:31
Improvements to HOME search on windows, and improve the documentation of the same. check-in: 006afac0 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

2467
2468
2469
2470
2471
2472
2473

2474
2475
2476

2477
2478
2479
2480
2481
2482
2483
#endif
#endif

/*
** Respond to a SIGALRM by writing a message to the error log (if there
** is one) and exiting.
*/

static void sigalrm_handler(int x){
  fossil_panic("TIMEOUT");
}


/*
** Arrange to timeout using SIGALRM after N seconds.  Or if N==0, cancel
** any pending timeout.
**
** Bugs:
** (1) This only works on unix systems.







>



>







2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
#endif
#endif

/*
** Respond to a SIGALRM by writing a message to the error log (if there
** is one) and exiting.
*/
#ifndef _WIN32
static void sigalrm_handler(int x){
  fossil_panic("TIMEOUT");
}
#endif

/*
** Arrange to timeout using SIGALRM after N seconds.  Or if N==0, cancel
** any pending timeout.
**
** Bugs:
** (1) This only works on unix systems.