DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_exec.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Jan 2005 12:54:20 -0800 (PST)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]