cvs commit: src/usr.bin/make str.c
    Ruslan Ermilov 
    ru at FreeBSD.org
       
    Sun Jan 25 04:28:38 PST 2004
    
    
  
ru          2004/01/25 04:28:36 PST
  FreeBSD src repository
  Modified files:
    usr.bin/make         str.c 
  Log:
  Fixed a bug that previous revision has introduced -- we missed
  the double quotes ("" and '') as a separate argument.
  
  Reported by:    ache
  
  The fix in this and previous revisions combined is functionally
  equivalent to the below patch against rev. 1.27 but the code is
  now much easier to follow:
  
  %%%
  Index: str.c
  ===================================================================
  RCS file: /home/ncvs/src/usr.bin/make/str.c,v
  retrieving revision 1.27
  diff -u -r1.27 str.c
  --- str.c       28 Oct 2002 23:33:57 -0000      1.27
  +++ str.c       25 Jan 2004 12:09:21 -0000
  @@ -168,7 +168,7 @@
                                  inquote = (char) ch;
                                  /* Don't miss "" or '' */
                                  if (start == NULL && p[1] == inquote) {
  -                                       start = t + 1;
  +                                       start = t;
                                          break;
                                  }
                          }
  %%%
  
  Revision  Changes    Path
  1.29      +5 -3      src/usr.bin/make/str.c
    
    
More information about the cvs-all
mailing list