cvs commit: src/usr.bin/make var.c

Hartmut Brandt harti at FreeBSD.org
Wed Mar 2 15:52:05 GMT 2005


harti       2005-03-02 15:52:04 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         var.c 
  Log:
  Move the check for the error case (variable ends without a closing
  paranthesis or brace) into the loop and don't leak the buffer in this
  case. Remove the check for Var_Parse returning NULL - it can't.
  
  Patch:          7.92
  
  Submitted by:   Max Okumoto <okumoto at ucsd.edu>
  
  Revision  Changes    Path
  1.103     +17 -18    src/usr.bin/make/var.c


More information about the cvs-src mailing list