Date: Tue, 21 Jun 2005 21:37:53 +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: <200506212137.j5LLbrnB075046@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506212137.j5LLbrnB075046>
