git: sh: Skip vars with invalid names in "set", "export -p", "re

看板DFBSD_commit作者時間14年前 (2011/08/22 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 6a2acd5391a461a9359149fd9f93283b222b8e5e Author: Peter Avalos <pavalos@dragonflybsd.org> Date: Sun Aug 21 14:39:50 2011 -0700 sh: Skip vars with invalid names in "set", "export -p", "readonly -p". This ensures the output of these commands is valid shell input. Obtained-from: FreeBSD 223183 Summary of changes: bin/sh/var.c | 15 ++++++++++++++- tools/regression/bin/sh/builtins/export1.0 | 3 +++ tools/regression/bin/sh/builtins/set2.0 | 3 +++ 3 files changed, 20 insertions(+), 1 deletions(-) create mode 100644 tools/regression/bin/sh/builtins/export1.0 create mode 100644 tools/regression/bin/sh/builtins/set2.0 http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6a2acd5391a461a9359149fd9f93283b222b8e5e -- DragonFly BSD source repository
文章代碼(AID): #1EKPnGqC (DFBSD_commit)