httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/helpers build-modules-c.awk
Date Sun, 19 Dec 1999 16:36:49 GMT
ben         99/12/19 08:36:49

  Modified:    src/helpers build-modules-c.awk
  Log:
  Deal with newline at the end of the module list.
  
  Revision  Changes    Path
  1.2       +8 -1      apache-2.0/src/helpers/build-modules-c.awk
  
  Index: build-modules-c.awk
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/src/helpers/build-modules-c.awk,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build-modules-c.awk	1999/12/05 08:54:38	1.1
  +++ build-modules-c.awk	1999/12/19 16:36:49	1.2
  @@ -3,7 +3,14 @@
       modules[n++] = "core"
       pmodules[pn++] = "core"
   } 
  -{ modules[n++] = $1 ; pmodules[pn++] = $1 } 
  +{
  +    modules[n] = $1;
  +    pmodules[pn] = $1;
  +    gsub("\n","",modules[n]);
  +    gsub("\n","",pmodules[pn]);
  +    ++n;
  +    ++pn;
  +} 
   END {
       print "/*"
       print " * modules.c --- automatically generated by Apache"
  
  
  

Mime
View raw message