cvs commit: src/usr.bin/env envopts.c

Garance A Drosehn gad at FreeBSD.org
Mon Jul 25 18:09:10 GMT 2005


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


More information about the cvs-all mailing list