Fossil

Check-in [1d7afcdf]
Login

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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

  2467   2467   #endif
  2468   2468   #endif
  2469   2469   
  2470   2470   /*
  2471   2471   ** Respond to a SIGALRM by writing a message to the error log (if there
  2472   2472   ** is one) and exiting.
  2473   2473   */
         2474  +#ifndef _WIN32
  2474   2475   static void sigalrm_handler(int x){
  2475   2476     fossil_panic("TIMEOUT");
  2476   2477   }
         2478  +#endif
  2477   2479   
  2478   2480   /*
  2479   2481   ** Arrange to timeout using SIGALRM after N seconds.  Or if N==0, cancel
  2480   2482   ** any pending timeout.
  2481   2483   **
  2482   2484   ** Bugs:
  2483   2485   ** (1) This only works on unix systems.