Diff for /freem/src/sighnd.c between versions 1.8 and 1.11

version 1.8, 2025/04/15 16:49:36 version 1.11, 2025/05/01 21:02:31
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.11  2025/05/01 21:02:31  snw
    *   Documentation updates
    *
    *   Revision 1.10  2025/04/30 20:03:09  snw
    *   Work on entryref parser
    *
    *   Revision 1.9  2025/04/15 18:39:20  snw
    *   Remove extraneous CRLFs in logprintf calls
    *
  *   Revision 1.8  2025/04/15 16:49:36  snw   *   Revision 1.8  2025/04/15 16:49:36  snw
  *   Make use of logprintf throughout codebase   *   Make use of logprintf throughout codebase
  *   *
Line 160  void onintr (void) Line 169  void onintr (void)
 {  {
     sig_attach (SIGINT, &onintr); /* restore handler */      sig_attach (SIGINT, &onintr); /* restore handler */
   
     /* printf ("\r\nSIGINT codptr = '%s'\r\n", codptr); */      /* printf ("\r\nSIGINT codptr = '%s'\r\n", codptr); */   
           
     if (first_process) {      if (first_process) {
         job_request_stop (pid);          job_request_stop (pid);
Line 186  void onintr (void) Line 195  void onintr (void)
         }          }
     }      }
   
           if (breakon) {        
     if (breakon) {  
         merr_raise (INRPT);          merr_raise (INRPT);
         inrpt_after_async = TRUE;          inrpt_after_async = TRUE;
         if (forsw) sigint_in_for = TRUE;          if (forsw) sigint_in_for = TRUE;
   
           if (usermode == 1) {
               debug_mode = TRUE;
           }
     }      }
     else {      else {
         zcc = TRUE;          zcc = TRUE;
Line 294  void onhup (void) Line 306  void onhup (void)
   
   
     if (run_daemon == TRUE) {      if (run_daemon == TRUE) {
         logprintf (FM_LOG_INFO, "environment:  daemon received SIGHUP\r\n");          logprintf (FM_LOG_INFO, "environment:  daemon received SIGHUP");
   
         sig_attach (SIGHUP, &onhup);       /* restore handler */          sig_attach (SIGHUP, &onhup);       /* restore handler */
                   

Removed from v.1.8  
changed lines
  Added in v.1.11


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>