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

cvs commit: src/bin/cpdup cpdup.c hcproto.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Nov 2008 20:36:00 -0800 (PST)

dillon      2008/11/10 20:36:00 PST

DragonFly src repository

  Modified files:
    bin/cpdup            cpdup.c hcproto.c 
  Log:
  * Change hc_remove() to return a -errno if an error occurs instead of -1.
  
  * Adjust most hc_remove() calls to xremove(), which calls hc_remove() and
    retries with a chflags/remove sequence if the initial removal fails with
    EPERM.  This should help when there are hardlinks to a file marked schg.
  
  Revision  Changes    Path
  1.32      +24 -8     src/bin/cpdup/cpdup.c
  1.8       +11 -4     src/bin/cpdup/hcproto.c


http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/cpdup.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/hcproto.c.diff?r1=1.7&r2=1.8&f=u



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