cvs commit: src/sys/kern kern_exec.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 29 12:55:20 PST 2005


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 at xxxxxxxxxxxx>
  
  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





More information about the Commits mailing list