Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 18:09:09 +0000 (UTC)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/env envopts.c
Message-ID:  <200507251809.j6PI99nL049053@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2005-07-25 18:09:09 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    usr.bin/env          envopts.c 
  Log:
  MFC 1.3->1.4:  Fix minor bugs in -S processing:
   1) An unquoted space is always a separator, even when not "in_arg".
   2) When a new destination buffer must be allocated during variable
      substitution, only copy data from the active buffer to the new
      one when we *are* "in_arg".
   3) Fix minor memory leak when expanding ${variable}s
  
  Approved by:    re(kensmith)
  
  Revision  Changes    Path
  1.2.2.1   +28 -15    src/usr.bin/env/envopts.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507251809.j6PI99nL049053>