Date: Wed, 13 Jul 2005 15:56:30 +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: <200507131556.j6DFuVuJ074226@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2005-07-13 15:56:30 UTC FreeBSD src repository Modified files: usr.bin/env envopts.c Log: Fix two minor parsing 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". These were noticed when testing variable-substitution of variables which have null values, and are not inside quoted strings... MFC plans: after a few days, and re@ approval... Revision Changes Path 1.3 +23 -14 src/usr.bin/env/envopts.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507131556.j6DFuVuJ074226>