Created attachment 156224 [details] .diff file of the sysutils/clone directory I released the new version 1.0.6 for my file tree cloning tool sysutils/clone. This a maintenance and bug fixing release, i.e. it brings no significant new features. From the ChangeLog: - make sure not to create by accident a FS tree on the wrong device. - in addTreeNode() in the case of (ord == 0) it is not necessary to deallocate the name and allocate/copy it again, since it is guaranteed that the new name is the same as the old name. - zero-out the value struct when modifying a node and no new value (NULL) was supplied. - in removeName() make sure to call removeTreeNode() only if node != NULL. - renamed namelen to naml in AVL tree and hash table functions. - store naml alongside the name in the nodes. - improved Xcode project settings, more warnings, c11, and do the Release builds using -Ofast. - made the sources 32bit clean. - switch all long variables and parameters to llong aka. long long. - use allocate()/deallocate() memory functions. - in setMetaData() and freeMetaData(), bug fix for FreeBSD, a pointer with offset by 1 (namelist) was passed to free. - merged in changes from the other AVL Tree implementations. - replace sequencial deallocate() calls by a deallocate_batch() call. - add a notice about eventually leaked memory to the summary. - on Mac OS X, fixed problem with flistxattr(), fgetxattr(), and fsetxattr(). - set Mac OS X Deployment Target to 10.6. - bumped copyright years. - in utils.c switched sequences of deallocate() to deallocate_batch(). - release of version 1.0.6 (r66). Best regards Rolf Jansen
A commit references this bug: Author: madpilot Date: Mon May 11 21:32:12 UTC 2015 New revision: 386104 URL: https://svnweb.freebsd.org/changeset/ports/386104 Log: - Update to 1.0.6 - Regenerate patch to make portlint happy PR: 199852 Submitted by: cyclaero at gmail.com (maintainer) Changes: head/sysutils/clone/Makefile head/sysutils/clone/distinfo head/sysutils/clone/files/patch-Makefile
Committed with a minor change: It was failing with compiler errors on 8.4 and 9.3, so I added USES=compiler:c11 to make it use a more recent compiler (clang by default). Thanks!