cvs commit: src/bin/cpdup cpdup.c hcproto.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Nov 10 20:37:23 PST 2008
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
More information about the Commits
mailing list