git: Revert "printf(1): don't use getopt"

看板DFBSD_commit作者時間16年前 (2009/08/21 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
commit d61bf633159588699c95f84c439c17a05a656aef Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Aug 20 09:28:56 2009 -0700 Revert "printf(1): don't use getopt" This reverts commit 8a65ba3d8f8a805773a99458f6f18f034ad84d57. printf.c is included by /bin/sh, and the internalized version is used by apropos which passes it '-- fmt ...'. FreeBSD and NetBSD and probably others use getopt(). We have to too or we break -- use. Summary of changes: usr.bin/printf/printf.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d61bf633159588699c95f84c439c17a05a656aef -- DragonFly BSD source repository
文章代碼(AID): #1AZOzgeh (DFBSD_commit)
文章代碼(AID): #1AZOzgeh (DFBSD_commit)