httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/os/netware os.h
Date Tue, 03 Sep 2002 22:00:39 GMT
bnicholes    2002/09/03 15:00:37

  Modified:    os/netware os.h
  Log:
  Avoid calling the real exit() function when the macro exit() is called outside of
  a code block.
  
  Revision  Changes    Path
  1.5       +1 -1      httpd-2.0/os/netware/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/os/netware/os.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- os.h	24 Jul 2002 15:17:56 -0000	1.4
  +++ os.h	3 Sep 2002 22:00:36 -0000	1.5
  @@ -73,6 +73,6 @@
   #define APACHE_MPM_DIR  "server/mpm/netware" /* generated on unix */
   
   #define getpid NXThreadGetId
  -#define exit(s) if(s||hold_screen_on_exit){pressanykey();apr_terminate();}exit(s);
  +#define exit(s) {if(s||hold_screen_on_exit){pressanykey();}apr_terminate();exit(s);}
   
   #endif   /* ! APACHE_OS_H */
  
  
  

Mime
View raw message