看板 DFBSD_commit 關於我們 聯絡資訊
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