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

cvs commit: src/bin/ln ln.c


From: "Liam J. Foy" <liamfoy@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Feb 2005 11:26:21 -0800 (PST)

liamfoy     2005/02/28 11:26:21 PST

DragonFly src repository

  Modified files:
    bin/ln               ln.c 
  Log:
  - Remove an unnecessary call to stat(). We can just use lstat before
    checking the file. This saves calling both stat() and lstat().
  
  Revision  Changes    Path
  1.6       +6 -5      src/bin/ln/ln.c


http://www.dragonflybsd.org/cvsweb/src/bin/ln/ln.c.diff?r1=1.5&r2=1.6&f=u



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