cvs commit: src/sys/kern kern_exec.c

看板DFBSD_commit作者時間21年前 (2005/01/30 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
dillon 2005/01/29 12:54:20 PST DragonFly src repository Modified files: sys/kern kern_exec.c Log: Redo argv processing to better conform to standards. A NULL argv is no longer allowed. If argv[0] is NULL, we still pass a filename for argv[0] to the underlying program but we no longer attempt to process any further arguments. Also rewrite the loop and get rid of the goto to make the code more readable. Suggested-by: Maxim Sobolev <sobomax@portaone.com> Revision Changes Path 1.30 +38 -35 src/sys/kern/kern_exec.c http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exec.c.diff?r1=1.29&r2=1.30&f=u
文章代碼(AID): #11-_cP00 (DFBSD_commit)