[BACK]Return to pattern.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/pattern.h between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2011/09/16 17:47:07 version 1.1.1.2, 2014/04/25 13:33:50
Line 1 
Line 1 
 /*  /*
  * Copyright (C) 1984-2011  Mark Nudelman   * Copyright (C) 1984-2012  Mark Nudelman
  *   *
  * You may distribute under the terms of either the GNU General Public   * You may distribute under the terms of either the GNU General Public
  * License or the Less License, as specified in the README file.   * License or the Less License, as specified in the README file.
  *   *
  * For more information about less, or for information on how to   * For more information, see the README file.
  * contact the author, see the README file.  
  */   */
   
   #if HAVE_GNU_REGEX
   #define __USE_GNU 1
   #include <regex.h>
   #define DEFINE_PATTERN(name)  struct re_pattern_buffer *name
   #define CLEAR_PATTERN(name)   name = NULL
   #endif
   
 #if HAVE_POSIX_REGCOMP  #if HAVE_POSIX_REGCOMP
 #include <regex.h>  #include <regex.h>
 #ifdef REG_EXTENDED  #ifdef REG_EXTENDED
Line 46 
Line 52 
 #define CLEAR_PATTERN(name)   name = NULL  #define CLEAR_PATTERN(name)   name = NULL
 #endif  #endif
   
   #if NO_REGEX
   #define DEFINE_PATTERN(name)
   #define CLEAR_PATTERN(name)
   #endif

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2