/[pcre]/code/trunk/pcretest.c
ViewVC logotype

Diff of /code/trunk/pcretest.c

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

revision 1022 by ph10, Tue Aug 28 12:28:15 2012 UTC revision 1027 by ph10, Mon Sep 3 14:01:38 2012 UTC
# Line 112  input mode under Windows. */ Line 112  input mode under Windows. */
112  #else  #else
113  #include <sys/time.h>          /* These two includes are needed */  #include <sys/time.h>          /* These two includes are needed */
114  #include <sys/resource.h>      /* for setrlimit(). */  #include <sys/resource.h>      /* for setrlimit(). */
115    #if defined NATIVE_ZOS         /* z/OS uses non-binary I/O */
116    #define INPUT_MODE   "r"
117    #define OUTPUT_MODE  "w"
118    #else
119  #define INPUT_MODE   "rb"  #define INPUT_MODE   "rb"
120  #define OUTPUT_MODE  "wb"  #define OUTPUT_MODE  "wb"
121  #endif  #endif
122    #endif
123    
124  #define PRIV(name) name  #define PRIV(name) name
125    
# Line 2336  while (argc > 1 && argv[op][0] == '-') Line 2341  while (argc > 1 && argv[op][0] == '-')
2341        ((stack_size = get_value((pcre_uint8 *)argv[op+1], &endptr)),        ((stack_size = get_value((pcre_uint8 *)argv[op+1], &endptr)),
2342          *endptr == 0))          *endptr == 0))
2343      {      {
2344  #if defined(_WIN32) || defined(WIN32) || defined(__minix)  #if defined(_WIN32) || defined(WIN32) || defined(__minix) || defined(NATIVE_ZOS)
2345      printf("PCRE: -S not supported on this OS\n");      printf("PCRE: -S not supported on this OS\n");
2346      exit(1);      exit(1);
2347  #else  #else

Legend:
Removed from v.1022  
changed lines
  Added in v.1027

  ViewVC Help
Powered by ViewVC 1.1.5