httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: httpd-2.0/build buildexports.awk
Date Thu, 07 Dec 2000 10:54:18 GMT
gstein      00/12/07 02:54:17

  Modified:    build    buildexports.awk
  Log:
  *) simplify the AWK script a bit
  *) do not put the (const void *) cast into the code (it isn't needed)
  
  Revision  Changes    Path
  1.3       +3 -8      httpd-2.0/build/buildexports.awk
  
  Index: buildexports.awk
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/buildexports.awk,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- buildexports.awk	2000/12/05 18:29:06	1.2
  +++ buildexports.awk	2000/12/07 10:54:15	1.3
  @@ -1,8 +1,3 @@
  -{
  -    if ($1 ~ /^APR_/)
  -        print "#if", $1;
  -    if ($1 ~ /^apr?_/)
  -        print "const void *ap_hack_" $1 " = (const void *)" $1 ";";
  -    if ($1 ~ /^\/APR_/)
  -        print "#endif /*", substr($1,2), "*/";
  -}
  +/^APR_/     { print "#if", $1 }
  +/^\t*apr?_/ { print "const void *ap_hack_" $1 " = " $1 ";" }
  +/^\/APR_/   { print "#endif /*", substr($1,2), "*/" }
  
  
  

Mime
View raw message