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

Garance A Drosehn gad at FreeBSD.org
Tue Jun 21 21:37:53 GMT 2005


gad         2005-06-21 21:37:53 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/env          envopts.c 
  Log:
  Fix a bug where the value of ${SOMEVAR} would simply disappear if there
  was a separator character immediately before it.  This wasn't likely to
  happen in #-lines, but we might as well get it right.  Also fix it so
  that "" and "" will create a zero-length argument.
  
  Approved by:    re (blanket `env')
  
  Revision  Changes    Path
  1.2       +48 -23    src/usr.bin/env/envopts.c


More information about the cvs-all mailing list