/[gcl]/gcl/o/sgbc.c
ViewVC logotype

Diff of /gcl/o/sgbc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9.4.1.2.2 by camm, Thu Nov 6 16:16:53 2003 UTC revision 1.9.4.1.2.3 by camm, Wed Nov 12 15:41:36 2003 UTC
# Line 48  int gclmprotect ( void *addr, size_t len Line 48  int gclmprotect ( void *addr, size_t len
48    
49  #endif  #endif
50    
51    #if defined(DARWIN)
52    #include <sys/ucontext.h>
53    #endif
54    
55  #include <signal.h>  #include <signal.h>
56    
57  /*  void segmentation_catcher(void); */  /*  void segmentation_catcher(void); */
# Line 1440  memprotect_handler(int sig, long code, v Line 1444  memprotect_handler(int sig, long code, v
1444  #ifndef  BSD  #ifndef  BSD
1445    INSTALL_MPROTECT_HANDLER;    INSTALL_MPROTECT_HANDLER;
1446  #endif  #endif
1447    
1448    #if !defined(DARWIN)
1449    /* if (SIGSEGV == SIGPROTV) */    /* if (SIGSEGV == SIGPROTV) */
1450    segmentation_catcher(SIGSEGV);    segmentation_catcher(SIGSEGV);
1451    #else
1452      /* segmentation_catcher(SIGBUS,code,scp); */
1453      /* for the sake of exactness */
1454      segmentation_catcher(SIGBUS);
1455    #endif
1456    
1457  }  }
1458    

Legend:
Removed from v.1.9.4.1.2.2  
changed lines
  Added in v.1.9.4.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26